Download the PHP package mvccore/ext-tool-mimetype-extension without Composer
On this page you can find all versions of the php package mvccore/ext-tool-mimetype-extension. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download mvccore/ext-tool-mimetype-extension
More information about mvccore/ext-tool-mimetype-extension
Files in mvccore/ext-tool-mimetype-extension
Download mvccore/ext-tool-mimetype-extension
More information about mvccore/ext-tool-mimetype-extension
Files in mvccore/ext-tool-mimetype-extension
Vendor mvccore
Package ext-tool-mimetype-extension
Short Description MvcCore - Extension - Tool - MimeType & Extensions - extension to get file mimetype(s) strings array from file extension string or to get file extension(s) strings array from file mimetype string.
License BSD-3-Clause
Package ext-tool-mimetype-extension
Short Description MvcCore - Extension - Tool - MimeType & Extensions - extension to get file mimetype(s) strings array from file extension string or to get file extension(s) strings array from file mimetype string.
License BSD-3-Clause
Please rate this library. Is it a good library?
Informations about the package ext-tool-mimetype-extension
MvcCore - Extension - Tool - Mimetype & Extension
MvcCore extension to get:
- Mimetype(s) strings array from file extension string
- Extension(s) strings array from file mimetype string
This extension doesn't use PHP mime_content_type()
function.
To recognize which mimetype has uploaded file by magic bytes does
form control (input:file
) validator itself using PHP fionfo
extension.
This extension has only list of mimetypes and extensions to properly
decide, which file extension could be finally stored on server HDD
after magic bytes recognition.
Installation
Mimetypes And Extensions Sources
Database of all mimetypes and extensions is loaded by Node.JS project jshttp/mime-db
from 4 sources:
- IANA (http://www.iana.org/assignments/media-types/media-types.xhtml)
- APACHE (http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types)
- NGINX (http://hg.nginx.org/nginx/raw-file/default/conf/mime.types)
- custom definitions in
./custom-mimes.json
Usage
Building fresh version
Tests
All versions of ext-tool-mimetype-extension with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4.0
The package mvccore/ext-tool-mimetype-extension contains the following files
Loading the files please wait ....