innmind/media-type
A PHP library for working with media types (MIME types): parse, validate, and compare content types, handle parameters, and map file extensions. Lightweight and framework-agnostic, it helps Laravel and PHP applications negotiate HTTP responses, validate uploads, and manage content-type headers relia...
Model to validate media type strings
How can I help you explore Laravel packages today?