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 Bundle

File Bundle Laravel Package

kitpages/file-bundle

A Symfony bundle for file and image upload management. It offers Doctrine-backed file entities, configurable storage, and thumbnail support, simplifying attaching and reusing uploaded files across your application.

View on GitHub
Deep Wiki
Context7

FileBundle manages uploads and manipulations of files for the Kitpages CMS Bundle

Frequently asked questions about File Bundle
Can I use kitpages/file-bundle in a Laravel application?
No. KitpagesFileBundle is a Symfony bundle built on the Symfony kernel, dependency injection container, HttpFoundation UploadedFile, Doctrine entity mapping, and Twig helpers. It ships no Laravel service provider, facade, config file, migrations, or Blade views. For Laravel projects, use the framework's native filesystem and Storage APIs instead.
Does KitpagesFileBundle have a Laravel service provider or facade?
It does not have one. There is no Laravel service provider, facade, publishable configuration, or migration set, so Laravel's package discovery will not register anything useful. The bundle expects Symfony's DI container and kernel bootstrapping, which Laravel does not provide. Treat it as a Symfony-only dependency rather than a Laravel package.
How do I install kitpages/file-bundle with Composer on PHP 8?
Composer installation is likely to fail on a modern PHP 8 stack because the bundle depends on shared symfony/* components whose version constraints predate current releases. The package metadata does not clearly state supported PHP or Symfony versions, and an 8-star, zero-dependent bundle has had little downstream pressure to keep constraints current. Validate resolution in a throwaway project before spending time on integration, and expect conflicts rather than a clean install.
Is KitpagesFileBundle compatible with Symfony 6 or 7?
Compatibility with Symfony 6 or 7 is not stated in the package overview and is doubtful for an apparently dormant bundle. Its architecture relies on older Symfony conventions, and no recent release or dependent packages indicate active testing against current versions. Check the repository's composer.json and commit history directly rather than assuming modern Symfony support.
Do I need KitpagesCmsBundle to use KitpagesFileBundle?
The bundle is described as a satellite of KitpagesCmsBundle, and its file entity and associations are designed around that CMS data model. Whether the upload and storage services work standalone is not documented and would need verification in code. Plan on the CMS being a practical prerequisite, not an optional add-on.
Where does KitpagesFileBundle store uploaded files?
The overview mentions centralized storage paths and configurable file naming but does not specify whether binaries live on local disk, Gaufrette or Flysystem, or Doctrine blobs. That ambiguity matters because it determines how you would read legacy files during any migration. Inspect the bundle's services and Doctrine mapping to confirm before planning a bridge.
What Laravel package should I use instead for file uploads and thumbnails?
Use Laravel's native filesystem with Storage and Flysystem disks, plus a maintained media library such as Spatie Laravel Media Library for associations and derivatives. Pair that with a queued image pipeline, for example Intervention Image or Glide, and explicit FormRequest validation rules. This covers the bundle's intended scope with first-class Laravel support and active maintenance.
Is KitpagesFileBundle maintained and secure enough for production uploads?
It is a poor production choice for a security-sensitive upload surface. The repository has roughly 8 stars, zero dependents, and appears dormant, so it has had no external scrutiny, no CVE watch, and no downstream pressure to fix defects. File upload invites content-type spoofing, path traversal, executable uploads, public disk exposure, and orphaned writes on rollback. MIT licensing is clean, but maintenance and correctness are the blockers.
How does KitpagesFileBundle handle file validation and image thumbnails?
The overview claims thumbnail support and simple template integration but does not document validation, sanitization, size limits, or filename handling. Symfony's UploadedFile and validator can be wired in, yet the bundle gives no evidence of hardened defaults. For a production upload path, assume you must implement validation, MIME checking, size caps, and image processing yourself.
Can I migrate files from a legacy Kitpages CMS to Laravel Storage?
Yes, but not by adding the bundle to Laravel. A bridge-and-retire approach reads the bundle's Doctrine tables and disk layout with a thin legacy service or one-off script, then writes files and metadata into Laravel Storage and a polymorphic media model while preserving legacy URLs. Default to replacing the bundle rather than integrating it, and keep the legacy reader only until cutover is verified.
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