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

Media Bundle Laravel Package

symfony-cmf/media-bundle

Symfony CMF Media Bundle adds media management to Symfony CMF apps: upload, browse, edit, and organize images and documents with PHPCR-backed storage and integration into the CMF content framework.

View on GitHub
Deep Wiki
Context7

Symfony CMF Media Bundle

Frequently asked questions about Media Bundle
Can I use symfony-cmf/media-bundle in a Laravel application?
Not practically. It is a Symfony CMF bundle that assumes a full Symfony kernel with bundle registration, DI container configuration, and a PHPCR-ODM content repository. Laravel has no bundle system or PHPCR session lifecycle, so integration would mean rewriting Symfony Forms, EventDispatcher, and HTTP-foundation touchpoints. Use a Laravel-native media package instead.
Is symfony-cmf/media-bundle still maintained?
No. The project is archived, and its last release is dated 2016-06-14 targeting the Symfony 2.7/3.0 line and PHP 5.x-era runtimes. There is no upstream to accept PHP 8.x patches and no declared CVE response path. Treat it as legacy code, not a dependency for new work.
What does symfony-cmf/media-bundle do?
It adds media management to Symfony CMF applications: upload, store, and organize images and assets in a hierarchical PHPCR-ODM repository. It provides a media manager, media-type abstraction, metadata support, and configurable image variants and thumbnails. It also integrates with CMF content and Symfony services, routing, and templating. It is a CMF stack component, not a general-purpose asset manager.
What are the best Laravel alternatives to symfony-cmf/media-bundle?
For Laravel, spatie/laravel-medialibrary covers media associations and named image conversions, Intervention Image handles processing, and league/flysystem or Laravel's filesystem layer handles storage. These packages fit Laravel's container, Eloquent, queues, and testing tools. They are maintained and avoid the PHPCR and Symfony bundle overhead. Choose based on whether you need model-attached media or simpler file uploads with thumbnails.
Does symfony-cmf/media-bundle support Laravel 10 or Laravel 11?
No. It does not target Laravel at all; it is tied to Symfony 2.7/3.0-era bundle conventions and PHP 5.x runtimes. It will not run on current PHP 8.x without patching, and there is no maintainer to supply those patches. Laravel 10 and Laravel 11 are outside its supported scope.
How do I install symfony-cmf/media-bundle?
Historically you installed it with Composer, registered the bundle in a Symfony kernel, and configured cmf_media plus the PHPCR-ODM stack. Composer alone is not enough because the bundle needs Symfony DI, routing, templating, and a PHPCR session. In Laravel there is no supported installation path, and hand-wiring the services would be adapter work, not a normal install.
What PHPCR-ODM backend does symfony-cmf/media-bundle require?
It assumes a PHPCR-ODM content repository underneath, typically Jackalope with Jackrabbit or the Doctrine DBAL transport. That means a JCR-compatible backend or DBAL transport plus PHPCR session lifecycle and cmf_media configuration. Introducing that stack into Laravel is a platform decision, not a package install. The package is not usable with Eloquent or a simple filesystem alone.
Can symfony-cmf/media-bundle generate image thumbnails and variants?
Yes, it supports configurable image variants and thumbnails through Imagine-backed image variation logic. However, that logic is entangled with PHPCR document classes, Symfony configuration, and CMF services. Pulling it into Laravel would require rewriting the document and service layers. In Laravel, use spatie/laravel-medialibrary conversions or Intervention Image directly.
How do I test symfony-cmf/media-bundle in a Laravel app?
There is no practical Laravel test path. The bundle expects a Symfony kernel, bundle services, and a PHPCR repository, so even isolated tests need that infrastructure or heavy mocking. Laravel's testing tools and fake storage do not apply to its PHPCR documents and Symfony forms. Test a maintained Laravel alternative instead, using fake disks and queued conversions.
Is symfony-cmf/media-bundle safe to use in production?
Not recommended. It is archived, has an undeclared security posture, no CVE response path, and a deep dependency graph that is partly unmaintained. One transitive incompatibility can strand the content pipeline. Production adoption would require vendor-forking the bundle and owning security patching indefinitely, with a costly migration off PHPCR later.
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