php-standard-library/mime
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.
php-standard-library/mime provides a type-safe, standards-compliant toolkit for working with MIME data in PHP. It models media types, content disposition, and encoded headers as immutable value objects, making it easy to parse, validate, and construct MIME messages without brittle string handling.
type/subtype; charset=utf-8)How can I help you explore Laravel packages today?