PHP Classes

MIME Types: Class for retrieving MIME types and extensions.

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 65%Total: 3,129 All time: 1,156 This week: 488Up
Version License Categories
mime_types 1.0.0GNU General Publi...Files and Folders
Description 

Author

This class allows you to:
- Retrieve the appropriate MIME type of a file (based on it's extension, or by utilising the file command to guess it based on the file contents).
- Retrieve extension(s) associated with a MIME type.
- Load MIME types and extensions from a mime.types file.

Picture of Keyvan Minoukadeh
Name: Keyvan Minoukadeh <contact>
Classes: 10 packages by
Country: United Kingdom
Age: ???
All time rank: 574 in United Kingdom
Week rank: 304 Down15 in United Kingdom Down

  Files folder image Files (5)  
File Role Description
Files folder imagedoc (2 files)
Files folder imagetest (2 files)
Plain text file Mime_Types.php Class Main class

  Files folder image Files (5)  /  doc  
File Role Description
  Accessible without login HTML file Mime_Types.html Doc. API Doc
  Plain text file stylesheet.css Data CSS file for API Doc

  Files folder image Files (5)  /  test  
File Role Description
  Plain text file mime.types Data sample mime.types file
  Plain text file test_Mime_Types.php Test test script

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:3,129
This week:0
All time:1,156
This week:488Up
 User Ratings  
 
 All time
Utility:91%StarStarStarStarStar
Consistency:91%StarStarStarStarStar
Documentation:75%StarStarStarStar
Examples:-
Tests:33%StarStar
Videos:-
Overall:65%StarStarStarStar
Rank:592