jcoded / friendly-mime
Show a human readable description for a MIME type
Installs: 35 002
Dependents: 0
Suggesters: 0
Security: 0
Stars: 7
Watchers: 1
Forks: 2
Open Issues: 1
Type:package
pkg:composer/jcoded/friendly-mime
Requires
- php: >=5.4.0
This package is not auto-updated.
Last update: 2025-10-26 01:42:26 UTC
README
This package allows you to convert a MIME type into a human readable description.
Descriptions thanks to http://www.freeformatter.com/mime-types-list.html.
Installation
You can install this package through Composer. Add the following line to your composer.json require object:
"jcoded/friendly-mime": "^1.0"
Usage
There is a simple static function to use:
$friendlyName = \JCoded\FriendlyMime\FriendlyMime::getFriendlyName($mimeType);