Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Mime Type Detection Laravel Package

league/mime-type-detection

Fast, reliable MIME type detection for PHP. Detects from file extensions and binary signatures using shared databases, with a simple API and customizable mappings. Ideal for uploads, validation, and content-type handling in Laravel and other PHP apps.

View on GitHub
Deep Wiki
Context7
1.17.0
  • Updated lookup
1.16.0
  • Updated lookup
  • Prepped for 8.4 implicit nullable deprecation
1.15.0
  • Updated lookup
1.13.0

Added

  • A reverse lookup mechanism to fetch one or all extensions for a given mimetype
1.12.0

Updated

  • Updated lookup
1.11.0

Updated

  • Updated lookup
1.14.0

Updated

  • Updated lookup
1.10.0

Fixed

  • Added Flysystem v1 inconclusive mime-types and made it configurable as a constructor parameter.
1.9.0

Updated

  • Updated lookup
1.8.0

Added

  • Added the decorator OverridingExtensionToMimeTypeMap which allows you to override values.
1.7.0

Added

  • Added a bufferSampleSize parameter to the FinfoMimeTypeDetector class that allows you to send a reduced content sample which costs less memory.
1.6.0

Changes

  • Updated generated mime-type map
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core