webignition/internet-media-type-interface
PHP interface package defining contracts for representing internet media types (MIME types). Provides a shared API for parsing, validating, and comparing media type strings so implementations can interoperate across the webignition ecosystem.
webignition/internet-media-type-interface provides a lightweight PHP interface for representing internet media types (MIME types) such as text/html; charset=utf-8. It defines a common contract for media type objects, letting consuming code depend on an abstraction rather than a concrete implementation, which keeps parsing and validation packages decoupled and interchangeable.
MediaTypeInterface for type, subtype, and parameter access__toString() for serializationHow can I help you explore Laravel packages today?