- Is opifer/media-bundle compatible with Laravel?
- No. opifer/media-bundle is a Symfony bundle, not a Laravel package. It expects AppKernel registration, a Symfony DI container with compiler passes, Doctrine ORM mappings, Symfony Form types, Twig templates, and Symfony's security/ACL layer. Laravel's service providers, Eloquent, Blade, and Gates/Policies are conceptually similar but API-incompatible, so the bundle cannot be dropped into a Laravel app.
- Can I install opifer/media-bundle in a Laravel app with Composer?
- Composer installation is not a viable path for a Laravel application. The package is a read-only subtree split of a Symfony bundle with no Laravel package manifest, no publishable config, and dependencies tied to Symfony components, Doctrine, and Twig. Even if Composer resolves some dependencies, the bundle lifecycle and runtime contracts will not load in Laravel, leaving you with an unusable dependency.
- What Laravel versions does opifer/media-bundle support?
- None. The package supports Symfony 2.x/3.x-era stacks and predates modern Laravel releases, with its last release on 2015-12-08. There is no Laravel service provider, facade, config file, or test harness. Treat any claim of Laravel version support as incorrect.
- What is opifer/media-bundle used for?
- It provides a media library for uploading, storing, organizing, and browsing files and images in a Symfony application. Features include folder management, reusable media entities attachable to arbitrary owning entities, storage abstraction, and integration points for admin and content-editing workflows. The design is a reusable pattern, but the implementation is Symfony-specific.
- How do I install opifer/media-bundle in a Symfony app?
- You register it as a bundle in AppKernel in a legacy Symfony 2.x/3.x application, configure Doctrine mappings and security/ACL permissions, and wire the admin or content-editing integration. It is archived and unmaintained, with a last release from 2015, so installation is only marginal even in legacy Symfony apps already pinned to that era. There is no supported modern installation path.
- Does opifer/media-bundle work with Symfony 5 or Symfony 6?
- No. The bundle targets Symfony 2.x/3.x with PHP 5.6/7.0-era dependencies and Doctrine ORM 2.4-era mappings. Its service definitions, compiler passes, and container APIs will not load on Symfony 5 or 6. Even a modern Symfony application should not consider it a candidate.
- Is opifer/media-bundle maintained and safe for production use?
- No. The repository is archived, the last release was 2015-12-08, and there is no upstream maintenance or CVE triage. Because it handles file uploads and image processing, it sits on the highest-value attack surface in an application, including unrestricted upload, image-parser denial of service, SSRF via remote fetch, and path traversal in storage adapters. The absence of reported CVEs reflects obscurity, not safety.
- Can I use opifer/media-bundle as a reference architecture for a Laravel media library?
- Yes, as a design reference only. Reading the entity model, storage abstraction boundaries, and thumbnail/transform pipeline is a sensible one-to-three-day exercise for a Laravel team. The domain pattern of media as a first-class entity attachable to arbitrary owners is sound and reusable. Do not port it as a dependency; reimplement the concepts with Laravel-native service providers, Eloquent, Storage, and Gates/Policies.
- What are good Laravel alternatives to opifer/media-bundle for media uploads and image transforms?
- For Laravel, use maintained packages such as spatie/laravel-medialibrary or build a small custom media model on Laravel's filesystem and Storage facade with Intervention Image for transforms. These align with Laravel service providers, Eloquent, queues, and authorization instead of Symfony DI and Doctrine. If you need CMS-grade asset management, evaluate a maintained Laravel CMS rather than an archived Symfony bundle.
- What license is opifer/media-bundle under, and does that matter for Laravel?
- The license is MIT, so legal reuse is fine, but that is not the blocker. The blocker is technical: it is an abandoned Symfony bundle with no Laravel integration path. Any fork would need to own the upload and image-processing security surface indefinitely.