The MetaSyntactical MIMEtype detection component

v3.0.0 2021-07-29 10:09 UTC

This package is auto-updated.

Last update: 2024-03-29 02:18:12 UTC


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.