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

File Uploader Bundle Laravel Package

jbouzekri/file-uploader-bundle

A Symfony bundle that streamlines file uploads tied to Doctrine entities, handling storage, file naming, and lifecycle so you can attach and manage uploaded files with minimal boilerplate.

View on GitHub
Deep Wiki
Context7

Aggregate some bundles and libraries to provide easy ajax file upload integration with crop

Frequently asked questions about File Uploader Bundle
Can I install jbouzekri/file-uploader-bundle in a Laravel application?
No. This is a Symfony bundle that relies on Symfony bundle registration, service container configuration, and Doctrine entity lifecycle hooks, none of which have a direct Laravel equivalent. There is no service provider, no config publishing path, and no composer require-and-go route into a Laravel app. The server-side code is structurally unusable in Laravel without a rewrite; only the upload and crop frontend pattern is portable.
Is jbouzekri/file-uploader-bundle still maintained?
Barely. The last known release before v4.2 was January 2018, and v4.2 is a one-line Gaufrette version bump rather than a feature, deprecation, or breaking-change notice. That is hygiene, not maintenance, and it does not demonstrate a security-response process or a PHP 8.2+/Symfony 6/7 compatibility commitment. Treat it as sporadically touched with no support contract, which is a high-risk posture for upload handling.
Which Symfony and PHP versions does this bundle support?
The published constraints trace back to the Symfony 2.7/3.0 era, and nothing in the v4.2 release note confirms a Symfony 6 or 7 port or PHP 8.2+ support. The expected outcome of a resolution attempt on a modern stack is failure, and a resolution failure is the cleanest kill signal for evaluation. Verify against your actual composer.json before assuming compatibility.
What does FileUploaderBundle actually do?
It provides reusable Symfony services for handling uploaded files: configurable storage destinations, file naming, and cleanup, plus integration with Symfony services and configuration. It is designed to tie uploads to Doctrine entities so files are attached and managed through the entity lifecycle with minimal boilerplate. The value is in the pattern and service decomposition, not in anything Laravel-specific.
Does it support S3 or cloud storage instead of local disk?
Storage goes through Gaufrette, a filesystem abstraction with local, S3, FTP, and other adapters, so the bundle is not hardcoded to a local path. S3 migration is therefore a config and adapter change rather than a storage-layer rewrite, contingent on the bundle's controllers not having bypassed the abstraction. That is a weaker lock-in risk than a purely local implementation would carry.
What is the Laravel equivalent of this upload bundle?
There is no bundle or extension equivalent in Laravel; you would build the same responsibilities with Laravel's filesystem disks, a dedicated upload service, and an image manipulation library for crop handling. Packages like spatie/laravel-medialibrary cover similar territory for attaching files to Eloquent models. Use this bundle as a design reference for naming, storage, and cleanup separation rather than as a dependency.
Is it safe to use for production file uploads?
The package demonstrates no security posture: a version bump is not a CVE response, and upload handling is the highest-consequence unmaintained surface in an application. The relevant risks are MIME sniffing, path traversal in generated filenames, unbounded upload size, decompression bombs against GD or Imagick, and CSRF on state-changing AJAX endpoints. CVE response latency is the core risk driver, and one commit does not show a response capability.
How does file naming and cleanup work in this bundle?
The bundle exposes configurable naming and cleanup services so uploaded files get consistent destination paths and can be removed when the related Doctrine entity is deleted or updated. Because the lifecycle is tied to entities, cleanup behavior depends on how your persistence layer triggers it. Read the service definitions to confirm whether re-crop operations are destructive or non-destructive before relying on the contract.
Can I reuse the upload and crop frontend pattern in Laravel?
Yes. The frontend pattern and the crop request/response contract are the genuinely portable parts, and they translate cleanly to a Laravel controller and Blade or API endpoint. What does not port is the Symfony bundle wiring, the Doctrine entity hooks, and the service container configuration. Confirm whether upload and crop are exposed as named routes with a documented contract or buried in bundle-internal controllers before copying anything.
How do I verify whether this package resolves in my project?
Start with the version lineage: confirm that the v4.2 tag belongs to the same repository and Composer package you are evaluating, who tagged it, and what the release history looks like between 2018 and now. Then diff composer.json before and after the Gaufrette bump to see whether it crosses a major version and pulls new transitive dependencies into a frozen tree. Finish by confirming the tree still resolves under PHP 8.2+ and Symfony 6 or 7; a resolution failure ends the evaluation.
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.
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
nodisrupt/laravel-agent
sierratecnologia/media-manager