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
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
wapmorgan/file-type-detector 0.87 A lightweight PHP library that detects file types by extension and MIME type, mapping files to broad categories such as image, audio, video, document, archive, and other. Useful for upload validation, file organization, and content handling in PHP applications. 33 35 14 4K 1 1.0 29.9 MIT 9 years ago
View on GitHub
ecommit/mediabrowser-bundle 0.85 — 0 0 0 0 0 0.0 — MIT —
View on GitHub
rosell-dk/image-mime-type-guesser 0.84 A lightweight PHP library for detecting the MIME type of image files using multiple strategies, including finfo, exif_imagetype, getimagesize and magic byte sniffing. It falls back gracefully between methods, making it reliable for validating uploads and identifying images even when some PHP extensi... 10 — 1 — 2 0.5 — MIT 2 years ago
athlon1600/php-curl-file-downloader 0.84 Download remote files in PHP using cURL with a simple, lightweight wrapper. Supports saving to disk, streaming, progress callbacks, custom headers/options, redirects and timeouts—handy for CLIs or apps that need reliable file downloads. 26 26 10 2K 0 1.4 25.3 MIT 5 years ago
View on GitHub
Context7
jshttp/mime-db 0.84 The canonical MIME type database from jshttp, published as JSON. It maps file extensions to media types and includes metadata such as compression and charset, powering Node.js HTTP libraries like mime-types and Express. 1,252 — 286 — 26 25.4 19.6 MIT 1 year ago
phpmob/media-bundle 0.84 Symfony bundle configuring media storage via a PHPCR-backed Flysystem filesystem. Provides ready-to-import YAML config and supports overriding the PHPCR UTF-8 connection parameter for media storage. 0 0 0 0 0 1.5 — MIT 7 years ago
View on GitHub
Context7
ac/media-info-bundle 0.84 Symfony bundle wrapping the mediainfo CLI to extract multimedia metadata. Configure the mediainfo binary path, then scan files to get a normalized, structured PHP array (keys lowercased). Includes a console command to export scan results (e.g., YAML). 2 2 3 0 0 0.1 — MIT —
View on GitHub
Context7
adrienrn/php-mimetyper 0.84 A lightweight PHP library for MIME type mapping. Look up MIME types by file extension and extensions by MIME type through a simple API, useful for uploads, validation, and content headers without relying on file inspection. 24 — 6 — 2 0.9 0.8 MIT —
dflydev/apache-mime-types 0.83 Parse and query Apache mime.types mappings in PHP. Includes bundled Apache mime.types plus JSON representation. Use parser to read mime.types files, or repositories (PHP, JSON, flat) to look up MIME type by extension and extensions by type. 70 77 12 26K 1 1.0 35.7 — —
View on GitHub
Context7
unisharp/laravel-fileapi 0.83 UniSharp Laravel FileAPI provides a simple Laravel integration for handling file uploads and file management. It offers a convenient API for validating, storing, and retrieving uploaded files, helping add file features to Laravel apps with minimal setup. 52 53 14 174 4 2.1 9.8 MIT 8 years ago
View on GitHub
php-standard-library/file 0.83 Typed file handles for safe reading and writing in PHP, with explicit write modes and advisory file locking. Part of PHP Standard Library, designed to make filesystem IO clearer and less error-prone. 1 1 0 102K 0 21.5 64.9 MIT 1 week ago
View on GitHub
kherge/file-manager 0.83 Strict file and stream manager for PHP: safe read/write operations with unified APIs for files, in-memory strings, and existing streams. Supports iteration over contents and consistent handling via File, Memory, and Stream managers. 8 8 3 4K 1 2.8 36.6 NOASSERTION 9 years ago
View on GitHub
unisharp/laravel-filemanager 0.83 A responsive file manager for Laravel with a clean, mobile-friendly UI. Browse, upload, crop, resize, and organize files and folders, then integrate it with any WYSIWYG editor via CKEditor, TinyMCE, or Summernote adapters, with configurable storage and access control. 2,147 2,178 730 96K 214 71.2 53.5 MIT 2 months ago
View on GitHub
Context7
sextanet/laravel-files 0.83 — 1 1 0 548 0 10.5 36.4 MIT 7 months ago
View on GitHub
league/mime-type-detection 0.82 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. 1,344 1,350 29 24M 2 8.6 57.4 MIT —
View on GitHub
fileeye/mimemap 0.82 A PHP library for mapping MIME types to file extensions and back, using Apache and custom MIME data. Useful for file type detection, extension lookup, and consistent MIME handling in PHP or Laravel projects. 26 26 2 284K 3 17.7 63.7 LGPL-3.0 2 months ago
View on GitHub
mhor/php-mediainfo 0.82 A PHP wrapper around the MediaInfo CLI for reading detailed metadata from audio and video files. It provides a clean object-oriented API for codecs, duration, bitrate, resolution, channels, and track details, returning parsed output for easy inspection. 120 — 22 — 7 3.3 2.3 MIT —
braunstetter/media-bundle 0.82 — 2 2 0 2 0 3.0 3.1 — 1 year ago
View on GitHub
canaltp/media-manager 0.82 Laravel media manager package for organizing uploaded files with a simple, developer-friendly API. Helps store, retrieve, and manage media assets (images, documents, etc.) in your app, with streamlined integration into common Laravel workflows. 0 2 — 0 — 0.0 — — —
View on GitHub
madebyclowd/laravel-documentable 0.82 A Laravel package that adds document management to Eloquent models through a reusable documentable trait, letting you attach, store, and organize files with polymorphic relationships so any model can handle documents cleanly. 2 — 0 — 0 20.0 — MIT 1 week ago
View on GitHub
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.
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle
adachsoft/api-version-bundle
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
cgv/localized-resource