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

File Type Detector Laravel Package

brandembassy/file-type-detector

Detect file type and MIME by filename extension or by inspecting binary/stream content. Returns category, format, and MIME on success (or false). Includes a helper to resolve MIME only. Install via composer: brandembassy/file-type-detector.

View on GitHub
Deep Wiki
Context7
2.3.3

What's Changed

Full Changelog: https://github.com/BrandEmbassy/php-file-type-detector/compare/2.3.2...2.3.3

2.2.2

What's Changed

  • Add new m4a FileType

Full Changelog: https://github.com/BrandEmbassy/php-file-type-detector/compare/2.2.1...2.2.2

2.2.1

What's Changed

  • Detector: Add detect file extension by mimeType with charset

Full Changelog: https://github.com/BrandEmbassy/php-file-type-detector/compare/2.2.0...2.2.1

2.0.4
1.2.1
  • Added more JPEG signatures
2.0.2
  • Added more JPEG signatures
2.0.1

Extension is not nullable in FileInfo

2.0
  • Replace format anonymous array with FileInfo object
  • New detectFromContent method to get FileInfo from string content
1.2

Implements BrandEmbassy coding standards

1.1.6
  • Add PEM file detection (only by name)
1.1.5
  • jpeg definition
1.1.4
  • add another OGG definition
1.1.3
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.
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package