jcoded / friendly-mime
Show a human readable description for a MIME type
Installs: 22 128
Dependents: 0
Suggesters: 0
Security: 0
Stars: 7
Watchers: 2
Forks: 2
Open Issues: 1
Type:package
Requires
- php: >=5.4.0
This package is not auto-updated.
Last update: 2024-04-27 17:26:12 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);