php-extended/php-mime-type-provider-interface

This package is abandoned and no longer maintained. The author suggests using the php-extended/php-mime-type-interface package instead.

A library that provides and resolves mime types suitable for accept http headers

3.1.26 2021-06-24 16:42 UTC

README

A library that provides and resolves mime types suitable for accept http headers.

coverage

Installation

The installation of this library is made via composer. Download composer.phar from their website. Then add to your composer.json :

	"require": {
		...
		"php-extended/php-mime-type-provider-interface": "^3"
		...
	}

Then run php composer.phar update to install this library. The autoloading of all classes of this library is made through composer's autoloader.

Basic Usage

This library is an interface-only library.

For a concrete implementation, see php-extended/php-mime-type-provider-apache, or php-extended/php-mime-type-provider-iana.

License

MIT (See license file).