horstoeko/mimedb
horstoeko/mimedb provides a simple MIME type database for PHP applications, letting you look up MIME types by file extension and extensions by MIME type for upload validation, file detection, and content-type handling.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| php-standard-library/mime | 0.82 | A MIME type utility for PHP that parses, validates, and works with media types, including mapping file extensions to MIME types and back. Part of the PHP Standard Library, it offers a simple, dependency-free API for handling content types in HTTP, file, and email contexts. | 0 | — | 0 | — | 0 | 19.9 | — | MIT | 1 week ago |
|
| fileeye/mimemap | 0.81 | A PHP library for mapping MIME types to file extensions and back, using Apache and custom MIME data. Useful for file type detection, extension lookup, and consistent MIME handling in PHP or Laravel projects. | 26 | 26 | 2 | 284K | 3 | 17.7 | 63.7 | LGPL-3.0 | 2 months ago | |
| xantios/mimey | 0.80 | xantios/mimey is a PHP MIME type helper for converting file extensions to MIME types and back. It offers a lightweight API for detection and validation, simplifying file upload and content-type handling in Laravel or plain PHP apps. | 33 | 33 | 0 | 122K | 1 | 0.3 | 49.1 | MIT | 5 years ago | |
| ralouphie/mimey | 0.80 | Mimey is a lightweight PHP library that maps file extensions to MIME types and back. It ships with a comprehensive built-in mapping, requires no extensions, and offers simple methods like getMimeTypeFromExtension and getExtensionFromMimeType for reliable content-type detection in Laravel or any PHP... | 329 | — | 83 | — | 5 | 6.2 | 3.8 | MIT | — |
|
| jshttp/mime-db | 0.79 | The canonical MIME type database from jshttp, published as JSON. It maps file extensions to media types and includes metadata such as compression and charset, powering Node.js HTTP libraries like mime-types and Express. | 1,252 | — | 286 | — | 26 | 25.4 | 19.6 | MIT | 1 year ago |
|
| adrienrn/php-mimetyper | 0.78 | A lightweight PHP library for MIME type mapping. Look up MIME types by file extension and extensions by MIME type through a simple API, useful for uploads, validation, and content headers without relying on file inspection. | 24 | — | 6 | — | 2 | 0.9 | 0.8 | MIT | — |
|
| ijanki/mailmimedecode-bundle | 0.78 | ijanki/mailmimedecode-bundle decodes MIME-encoded email content, helping PHP applications convert encoded headers, subjects, and message bodies into readable UTF-8 text. It simplifies handling quoted-printable and base64 mail parts so your app can display and process incoming messages reliably. | 1 | 2 | 1 | 122 | 0 | 0.0 | 24.8 | MIT | — | |
| rosell-dk/image-mime-type-sniffer | 0.78 | A small PHP library that detects an image's MIME type by inspecting its actual file contents rather than trusting the extension. Useful when validating uploads, since it relies on magic bytes and is easy to drop into existing projects. | 2 | — | 0 | — | 0 | 0.0 | — | MIT | 4 years ago |
|
| wapmorgan/file-type-detector | 0.78 | A lightweight PHP library that detects file types by extension and MIME type, mapping files to broad categories such as image, audio, video, document, archive, and other. Useful for upload validation, file organization, and content handling in PHP applications. | 33 | 35 | 14 | 4K | 1 | 1.0 | 29.9 | MIT | 9 years ago | |
| brandembassy/file-type-detector | 0.77 | Detect file type and MIME by filename extension or by inspecting binary/stream content. Returns category, format, and MIME on success (or false). Includes a helper to resolve MIME only. Install via composer: brandembassy/file-type-detector. | 2 | 2 | 0 | 7K | 0 | 13.2 | 49.2 | MIT | 7 months ago | |
| webignition/internet-media-type | 0.77 | PHP library for parsing, validating and comparing internet media types (MIME types). Parse type/subtype and parameters, normalise, check wildcards, and match types against the IANA media type registry. Useful for content negotiation and HTTP handling. | 10 | 11 | 1 | 4K | 1 | 0.2 | 34.6 | MIT | 5 years ago | |
| rosell-dk/image-mime-type-guesser | 0.77 | A lightweight PHP library for detecting the MIME type of image files using multiple strategies, including finfo, exif_imagetype, getimagesize and magic byte sniffing. It falls back gracefully between methods, making it reliable for validating uploads and identifying images even when some PHP extensi... | 10 | — | 1 | — | 2 | 0.5 | — | MIT | 2 years ago |
|
| dflydev/apache-mime-types | 0.77 | Parse and query Apache mime.types mappings in PHP. Includes bundled Apache mime.types plus JSON representation. Use parser to read mime.types files, or repositories (PHP, JSON, flat) to look up MIME type by extension and extensions by type. | 70 | 77 | 12 | 26K | 1 | 1.0 | 35.7 | — | — |
How can I help you explore Laravel packages today?