- Can I install erichard/dms-bundle in a Laravel application?
- No, erichard/dms-bundle is a Symfony 2 bundle and cannot be installed into Laravel as a package. Laravel has no bundle mechanism and does not use Symfony's Bundle class, DI extension, configuration tree, or compiler passes. Composer may also refuse installation or force downgrades of shared Symfony components that Laravel depends on.
- Does erichard/dms-bundle support Laravel 10 or Laravel 11?
- No. The bundle targets Symfony 2 and PHP 5.x/7.0-era constraints, while Laravel 10 and 11 require PHP 8.1 or newer. There is no Laravel service provider, publishable config, or migration set in the package. Supporting modern Laravel would require a full re-architecture, not a version bump.
- What is erichard/dms-bundle used for?
- It is a Symfony 2 bundle for adding document management features to a Symfony application. It lets you organize files in folder trees, persist document metadata with Doctrine, and integrate uploads, listings, and file access into an existing Symfony project. It was designed for the Symfony full-stack framework, not for Laravel.
- Why is erichard/dms-bundle incompatible with Laravel?
- The bundle depends on Symfony-specific infrastructure such as HttpKernel Bundle classes, DI Extension classes, ConfigurationInterface config trees, and compiler passes. Laravel uses the Illuminate container and its own service provider lifecycle, so none of that wiring exists. The package would need to be rebuilt as a Laravel package before it could be evaluated on merit.
- Is erichard/dms-bundle still maintained?
- The objective signals say it is abandoned: Symfony 2 reached end of life in November 2018, and the package shows zero stars, zero dependents, and a zero quality score. The catalogued opportunity score of 4.16 is unvalidated and contradicts the adoption and maintenance data. There is no upstream remediation path for security issues.
- What Laravel alternatives exist for document management instead of erichard/dms-bundle?
- Use Laravel-native components that are actively maintained: spatie/laravel-medialibrary for file attachments and conversions, Laravel Filesystem with Flysystem for storage abstraction, and Laravel Scout with Meilisearch or Typesense for document search. Add a policy-based ACL layer for document permissions. Together these cover most of what a Symfony 2 DMS bundle delivered.
- Can I run erichard/dms-bundle as a Symfony sidecar behind a Laravel API?
- It is technically possible to run the bundle as an isolated Symfony sidecar and expose it through an API, but it carries a full dead-framework operational burden. You would need to containerize it, define an API contract, and own Symfony 2 knowledge for the lifetime of the component. For a package with zero downstream users, that cost is hard to justify.
- How do I migrate from erichard/dms-bundle to Laravel?
- There is no mechanical migration path; it is a re-implementation. Map the bundle's Doctrine entities to Eloquent models and migrations, translate its storage abstraction to Flysystem disks, replace Symfony config trees with a Laravel config file, and rebuild the DI wiring as a service provider with bound interfaces. Budget it as a small greenfield build informed by the original schema, not as an integration task.
- What PHP version does erichard/dms-bundle require?
- The bundle targets PHP 5.x and 7.0-era constraints from the Symfony 2 period. Those constraints conflict with the PHP 8.1+ floor required by Laravel 10 and 11. Expect Composer conflicts if you try to resolve it alongside a current Laravel lockfile.
- Is erichard/dms-bundle safe for production file uploads?
- Shipping an unmaintained 2015-vintage upload and storage component into a modern stack creates unpatched CVE exposure with no upstream fix path. A document management system is a high-trust surface covering uploads, storage paths, document ACLs, metadata, and retrieval, so the risk is concentrated where correctness matters most. Use actively maintained Laravel-native packages for production file handling instead.