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
Uploaded File Type Bundle

Uploaded File Type Bundle Laravel Package

tiloweb/uploaded-file-type-bundle

A Symfony bundle for detecting and validating the file type of uploads. Inspect MIME types and extensions to verify incoming files, reject unexpected formats, and keep upload handling safe and consistent across your application.

View on GitHub
Deep Wiki
Context7

UploadedFileTypeBundle is a Symfony bundle that adds a file type validation constraint for uploaded files. It lets you restrict uploads by expected MIME types or extensions directly in your form and entity validation, keeping upload handling clean and secure.

  • Simple constraint attribute for Symfony Validator
  • Validates uploaded files against allowed MIME types
  • Works with standard Symfony forms and entities
  • Integrates seamlessly via bundle registration
  • Lightweight, with no extra dependencies
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.
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource