PHP Classes

File: composer.json

Recommend this page to a friend!
  Classes of Sascha Greuel   PHP MIME Type to Extension Detector   composer.json   Download  
File: composer.json
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP MIME Type to Extension Detector
Detect the type of a file analyzing its content
Author: By
Last change: Removed phpUnit conflicting packages
Set minimum required PHP to 7.1
Release 3.2.0

- Switched from PSR-2 to PSR-12
- Added roave/security-advisories & squizlabs/php_codesniffer as dev requirements
- Switched from LGPL to ISC
- Switched from Travis to GitHub actions
- Added CODE_OF_CONDUCT
- Added issue templates
- Added pull request template
- Switched from BMC to GitHub sponsors

- Applied small bugfixes
- Fixed some spelling issues
Added detection for avif files

Also dropped official support for PHP < 7.2 (it works under 7.1 and 7.0, but that's not guaranteed for the future)
Date: 2 years ago
Size: 1,285 bytes
 

Contents

Class file image Download
{ "name": "softcreatr/php-mime-detector", "description": "Mime Detector Decoder", "keywords": [ "Mime", "Mime Type", "File Type", "Magic Number" ], "homepage": "https://1-2.dev", "version": "3.2.1", "license": "ISC", "authors": [ { "name": "Sascha Greuel", "email": "hello@1-2.dev" }, { "name": "Sebastian Zimmer", "email": "morik@softcreatr.de" } ], "require": { "php": ">=7.1.0" }, "require-dev": { "phpunit/phpunit": ">=7.0", "roave/security-advisories": "dev-master", "squizlabs/php_codesniffer": "^3.5" }, "config": { "optimize-autoloader": true, "preferred-install": "dist", "sort-packages": true }, "autoload": { "psr-4": { "SoftCreatR\\MimeDetector\\": "src/SoftCreatR/MimeDetector" } }, "autoload-dev": { "psr-4": { "SoftCreatR\\Tests\\MimeDetector\\": "tests/SoftCreatR/MimeDetector" } }, "minimum-stability": "stable", "prefer-stable": true, "scripts": { "cs-check": "phpcs", "cs-fix": "phpcbf", "test": "phpunit" }, "support": { "email": "hello@1-2.dev", "issues": "https://github.com/SoftCreatR/php-mime-detector/issues", "source": "https://github.com/SoftCreatR/php-mime-detector" } }