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.
You can install this package through Composer. Add the following line to your composer.json require
object:
"jcoded/friendly-mime": "^1.0"
There is a simple static function to use:
$friendlyName = \JCoded\FriendlyMime\FriendlyMime::getFriendlyName($mimeType);