adrienrn/php-mimetyper
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| zendframework/zend-mime | 0.86 | Zend\Mime is a PHP library for creating and parsing MIME messages. Build multipart emails, manage MIME parts, boundaries, headers, and content types/encodings, and handle attachments reliably—useful for mail composition and transport integration. | 60 | 63 | 35 | 44K | 6 | 2.4 | 28.9 | BSD-3-Clause | 7 years ago | |
| mtarld/json-encoder-bundle | 0.84 | Symfony bundle that integrates mtarld/json-encoder into your app, letting you encode and decode PHP objects to and from JSON with support for denormalization, validation, and typed collections. | 10 | 10 | 1 | 0 | 0 | 0.2 | — | — | 2 years ago | |
| delight-im/base64 | 0.84 | A flexible PHP library for Base64 encoding and decoding with support for standard, URL-safe, and custom alphabets. It offers strict input validation, padding control, and a clean API with no external dependencies, making binary-to-text conversion safe and easy in any PHP project. | 15 | 16 | 3 | 9K | 0 | 0.2 | 38.2 | MIT | — | |
| messaged/php-mime-mail-parser | 0.84 | Parse MIME emails in PHP with ease. Extract headers, plain and HTML bodies, inline content, and attachments from raw messages through a simple API. Handles nested multipart messages, common transfer encodings, and file saving. Useful for inbox processing, archiving, and email import tools. | 62 | 63 | 21 | 790 | 0 | 1.0 | 15.6 | — | — | |
| ivory/serializer | 0.83 | ivory/serializer is a lightweight Laravel and PHP package for transforming models and data structures into consistent arrays or JSON. Define serialization rules to control output, simplify API responses, and keep data formatting predictable across your application. | 3 | 2 | 3 | 3K | 1 | 0.1 | 27.7 | MIT | — | |
| ml/json-ld | 0.83 | Fully conforming JSON-LD processor for PHP. Implements the official JSON-LD API (expand, compact, frame, flatten, toRdf), passes the W3C test suite, supports advanced framing features, and includes N-Quads serialization/parsing. | 335 | 342 | 63 | 341K | 28 | 12.2 | 50.9 | MIT | — | |
| markup/json | 0.83 | Markup JSON is a lightweight PHP package for working with JSON as markup. It offers a simple way to parse or render JSON data into readable HTML output, making it useful for Laravel and PHP projects that need to display or transform JSON content. | 3 | 3 | 1 | 69 | 0 | 0.4 | 17.4 | — | 7 years ago | |
| symfony/serializer | 0.83 | The Symfony Serializer component converts object graphs and data structures to and from arrays, JSON, XML, and other formats, handling normalization, denormalization, and encoding for flexible data exchange. | 2,532 | 2,558 | 81 | 16M | 0 | 50.0 | 61.7 | MIT | 3 days ago | |
| cm2tech/serializer-bundle | 0.83 | — | 0 | 0 | 0 | 0 | 0 | 0.3 | — | MIT | 5 years ago | |
| ralouphie/mimey | 0.83 | 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 | — |
|
| filipegar/inky | 0.83 | Inky is a PHP implementation of ZURB's Inky parser for Foundation for Email. It converts semantic components like button, callout, and row into table-based HTML emails, with configurable grid columns, tag aliases, and custom component factories. | 1 | 1 | 4 | 1 | 0 | 0.1 | 2.4 | MIT | — | |
| ijanki/mailmimedecode-bundle | 0.83 | 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 | — | |
| happyr/serializer-bundle | 0.83 | Symfony bundle that integrates HappyR's serializer, wiring services and configuration so you can convert PHP objects to JSON and back with less boilerplate. Useful for APIs and apps that need consistent, configurable object serialization. | 21 | 21 | 0 | 0 | 1 | 0.5 | — | — | 10 years ago | |
| league/mime-type-detection | 0.83 | Lightweight PHP library for detecting MIME types from file extensions. Ships with a comprehensive built-in extension-to-MIME map and supports custom mappings for your own formats. Dependency-free, fast, and works without ext-fileinfo—it's the widely used detector behind Flysystem. | 1,344 | 1,350 | 29 | 24M | 2 | 8.6 | 57.4 | MIT | — | |
| fileeye/mimemap | 0.82 | 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.82 | 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 | |
| delight-im/http | 0.82 | A lightweight, framework-agnostic HTTP utility library for PHP. It provides simple objects for requests, responses, URLs, and headers, plus helpers for methods, status codes, and content types, so you can read and build HTTP messages in any PHP application. | 18 | 19 | 4 | 53K | 0 | 0.2 | 47.6 | MIT | — | |
| jshttp/mime-db | 0.82 | 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 |
|
| rosell-dk/image-mime-type-guesser | 0.82 | 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 |
|
| php-mime-mail-parser/php-mime-mail-parser | 0.81 | A PHP library for parsing MIME email messages: extract headers, text and HTML bodies, attachments, inline images, embedded messages, and metadata from raw emails. Handles encodings, charsets, and common malformed messages. | 995 | 1,006 | 193 | 371K | 16 | 25.9 | 47.5 | MIT | 6 months ago |
How can I help you explore Laravel packages today?