Get the human file type name from mime types and files.
composer require apokalipscke/file-mimer
get from mime type
use Apokalipscke\FileMimer\FileMimer;
$fileTypeName = FileMimer::get('audio/mpeg');
returns:
"MPEG Audio"
get from file
use Apokalipscke\FileMimer\FileMimer;
$fileTypeName = FileMimer::getFromFile("/path/to/your.file");
Need more examples? Have a look at the tests.