The MetaSyntactical MimeType detection Component
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
tests
.gitattributes
.gitignore
.travis.yml
LICENSE
README.md
composer.json
phpunit.xml.dist

README.md

README

Build Status

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.

Requirements

MetaSyntactical/Mime is only supported on PHP 5.6.28 and up.

Installation

The best way to install MetaSyntactical/Mime is to use Composer (http://getcomposer.org).

Contributing

MetaSyntactical/Mime is an open source project.