metasyntactical / mime
The MetaSyntactical MIMEtype detection component
Installs: 1 206
Dependents: 1
Suggesters: 0
Security: 0
Stars: 5
Watchers: 3
Forks: 1
Open Issues: 1
Requires
- php: 8.0.*
- metasyntactical/io: ^2.0
Requires (Dev)
- infection/infection: ^0.24.0
- mikey179/vfsstream: ^v1.6.9
- phpunit/phpunit: ^9.5
- vimeo/psalm: ^4.8.1
This package is auto-updated.
Last update: 2024-11-06 19:21:57 UTC
README
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.