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 Upload Bundle

File Upload Bundle Laravel Package

ns/file-upload-bundle

A file upload bundle for PHP applications that streamlines handling uploaded files, including validation, storage, and integration with your existing framework setup.

View on GitHub
Deep Wiki
Context7

At a glance

Frequently asked questions about File Upload Bundle
Is ns/file-upload-bundle compatible with Laravel?
Probably not out of the box. The package is named a bundle, which is Symfony's packaging convention, so the first thing to check is whether its composer.json requires symfony/framework-bundle or laravel/framework. If it targets Symfony, only the underlying upload logic could be reused, and only through an adapter layer you write yourself.
How do I install ns/file-upload-bundle with Composer?
Installation is a standard composer require ns/file-upload-bundle, but inspect the require block first to see which framework and PHP versions it pins. Do not assume Laravel package auto-discovery will register anything, since a Symfony bundle normally uses DependencyInjection extensions and services.yaml instead of a service provider. Run the install in a throwaway branch before committing to it.
Does ns/file-upload-bundle support Laravel 10 or 11?
There is no evidence of Laravel framework support in the package metadata or adoption signals. With two stars, zero dependents, and no visible Laravel constraint, you should treat Laravel compatibility as unproven until you read composer.json and the source. If it does declare laravel/framework, verify the major version range matches your application.
What is the difference between a Symfony bundle and a Laravel package?
A Symfony bundle registers services through DependencyInjection extensions, services.yaml, and event subscribers, while a Laravel package exposes service providers, facades, config publishing, and migrations. A bundle can sometimes be used inside Laravel, but you lose auto-discovery, config merging, and container conventions. That mismatch usually means manual wiring and a higher maintenance burden.
Does ns/file-upload-bundle validate MIME types and sanitize filenames?
This is not documented, so you must audit the source before trusting it. Check whether MIME validation uses content inspection such as finfo rather than the client-supplied Content-Type header, and whether filenames are sanitized against path traversal and null bytes. A simple upload bundle frequently skips both, which is a serious risk on a security-sensitive surface.
Can ns/file-upload-bundle store uploads on S3 or Laravel disks?
Unclear without reading the code. Many small upload bundles hardcode a public web directory instead of abstracting storage through Flysystem, which would prevent you from using Laravel's local, S3, or custom disks. Confirm whether streamed writes and disk abstraction exist before relying on it for cloud storage.
Is ns/file-upload-bundle safe to use in production?
The adoption signals are effectively absent: two stars, zero dependents, no visible CI, and no security disclosure channel. File uploads are a high-risk area covering MIME spoofing, path traversal, unrestricted extension execution, and unbounded request sizes. Without external production usage or a test suite, there is no evidence it handles those cases.
What are the best alternatives to ns/file-upload-bundle in Laravel?
Laravel already ships UploadedFile, the mimes, max, and image validation rules, and the Storage facade backed by Flysystem. For richer needs such as media collections, conversions, and responsive images, spatie/laravel-medialibrary is the mature, widely deployed choice. Both are first-party or heavily used options with active maintenance.
Is ns/file-upload-bundle actively maintained and tested?
It appears to be a single-author package with a bus factor of one. Check the last commit date and whether open issues or unmerged pull requests are piling up, and look for a test suite and SECURITY.md. The MIT license removes legal friction, but it does not substitute for maintenance evidence.
How should I integrate ns/file-upload-bundle if I adopt it?
Adopt it behind an internal port such as a FileStorage interface with an upload method returning a StoredFile value object, and bind the bundle's implementation to that contract in a single adapter class. Never let the bundle's types leak into controllers or domain models. That keeps a later swap to native Laravel Storage or Spatie a contained change rather than a refactor.
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.
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
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core