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

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

3.0.1 2020-08-01 22:29 UTC

This package is auto-updated.

Last update: 2020-08-01 20:29:25 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. It represents abstract mime types and categories of fields in relational modelisations.

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).