PHP Classes

File: composer.json

Recommend this page to a friend!
  Classes of Josantonius   PHP MIME Type   composer.json   Download  
File: composer.json
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP MIME Type
Get the MIME type of files from name extension
Author: By
Last change: composer phpcbf command fixed and remove phpunit coverage
Updated to 1.1.6 version
Updated to 1.1.5 version
Updated to 1.1.4 version
Updated to 1.1.4 version
Removed vendor folder and added to .gitignore
Autoloaded with PSR-4 all library files and test files
Dropped the use of a json file with mime types list and used PHP class instead
Date: 6 years ago
Size: 1,889 bytes
 

Contents

Class file image Download
{ "name": "josantonius/mimetype", "type": "library", "description": "PHP library for obtain headers MIME.", "keywords": [ "MimeType", "HHVM", "MIME", "audio", "video", "multipart", "aplication", "PHP" ], "license": "MIT", "authors": [ { "name": "Josantonius", "email": "hello@josantonius.com", "homepage": "https://josantonius.com", "role": "Developer" } ], "support": { "issues": "https://github.com/josantonius/php-mimetype/issues", "forum": "http://stackoverflow.com/tags/josantonius/php-mimetype", "source": "https://github.com/josantonius/php-mimetype" }, "config": { "preferred-install": "dist" }, "minimum-stability": "stable", "require": { "php": "^5.6 || ^7.0" }, "require-dev": { "phpunit/phpunit": "^5.7 || ^6.0", "squizlabs/php_codesniffer": "^3.0", "friendsofphp/php-cs-fixer": "^2.3 || ^2.8", "phpmd/phpmd": "^2.6" }, "autoload": { "psr-4": { "Josantonius\\MimeType\\": "src/" } }, "autoload-dev": { "psr-4": { "Josantonius\\MimeType\\": "tests/" } }, "extra": { "branch-alias": { "dev-master": "1.0-dev" } }, "scripts": { "phpunit": "vendor/bin/phpunit --colors=always;", "phpcs": "vendor/bin/phpcs --standard=phpcs.xml $(find . -name '*.php');", "phpmd": "vendor/bin/phpmd src,tests text ./phpmd.xml", "fix": [ "vendor/bin/php-cs-fixer fix -v", "vendor/bin/phpcbf src tests" ], "tests": [ "clear", "@phpmd", "@phpcs", "@phpunit" ] } }