What is MetaSyntactical/Mime?
MetaSyntactical/Mime is part of the MetaSyntactical PHP 5.6+ components library and provide a system independent implementation of the magic.mime MIMEtype detection.
MetaSyntactical/Mime is based on the Zend Framework proposal for Zend_Mime_Magic of Matthew Ratzloff and the derived implementation as Google Code project of Sven Vollbehr. I have transformed the code to use namespaces, better exception handling and added unit tests.
MetaSyntactical/Mime is only supported on PHP 5.6.28 and up.
The best way to install MetaSyntactical/Mime is to use Composer (http://getcomposer.org).
MetaSyntactical/Mime is an open source project.