webignition/internet-media-type
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.
webignition/internet-media-type is a PHP library for parsing, validating and representing internet media types (MIME types). It turns raw strings such as text/html; charset=UTF-8 into structured value objects, exposing the type, subtype and parameters individually so they can be inspected and compared reliably.
How can I help you explore Laravel packages today?