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
Doctrine Orm Bundle

Doctrine Orm Bundle Laravel Package

lyssal/doctrine-orm-bundle

A Symfony bundle that integrates Doctrine ORM, providing entity and repository utilities plus configuration helpers to streamline database-backed Symfony applications.

Deep Wiki
Context7

Bundle for the Doctrine ORM library ; more cool functions in the Doctrine repositories and managers.

Frequently asked questions about Doctrine Orm Bundle
What is lyssal/doctrine-orm-bundle used for?
It is a Symfony bundle that integrates the Doctrine ORM library into Symfony applications. The package adds entity and repository utilities plus configuration helpers intended to streamline database-backed Symfony projects. Its overview also mentions extra convenience functions in Doctrine repositories and managers. It is not a Laravel package, even though Laravel developers may evaluate it when comparing ORM tooling.
Can I use lyssal/doctrine-orm-bundle in a Laravel application?
No, it is designed as a Symfony bundle, so its service wiring and configuration helpers target Symfony rather than Laravel. Laravel ships with Eloquent by default, and developers who want Doctrine usually use a Laravel-specific bridge such as laravel-doctrine/orm. You could technically use Doctrine ORM directly in Laravel, but this bundle's Symfony integration would not apply cleanly. For Laravel projects, prefer Laravel-native packages or a dedicated Doctrine bridge.
How do I install lyssal/doctrine-orm-bundle?
Install it with Composer using composer require lyssal/doctrine-orm-bundle. In a Symfony application, register the bundle in config/bundles.php or the legacy bundles.php file. You should also confirm that your Symfony framework and doctrine/orm versions satisfy the package's Composer constraints. Check the package documentation or composer.json for any additional setup steps.
What extra repository and manager features does the bundle add?
The package description states that it provides more cool functions in Doctrine repositories and managers, along with entity and repository utilities. These helpers are meant to reduce boilerplate and streamline common database operations in Symfony applications. The exact method names and behavior depend on the package source and documentation, so inspect those before relying on specific helpers. Treat the utilities as convenience wrappers around standard Doctrine ORM behavior.
Which Symfony and Doctrine ORM versions are supported?
The provided context does not include a version compatibility matrix or README details. You should check the package's composer.json constraints on Packagist or in the repository before installing. Symfony bundles typically pin supported Symfony framework and doctrine/orm ranges. Verify compatibility with your application's PHP version as well.
How do I configure lyssal/doctrine-orm-bundle in Symfony?
Register the bundle in your Symfony kernel or config/bundles.php, then add any required configuration under config/packages. The bundle advertises configuration helpers, so check its documentation for the expected YAML or PHP config structure. You will also need DoctrineBundle or equivalent Doctrine ORM configuration in place. Confirm the exact options by reading the package source or docs, since no README excerpt was provided.
Does lyssal/doctrine-orm-bundle support Symfony Flex and autowiring?
As a Symfony bundle, it can be registered through config/bundles.php and may benefit from Symfony Flex if a recipe exists. Autowiring of custom repositories or managers depends on how the bundle defines its services, which is not confirmed in the provided context. Check the package's service configuration and documentation before assuming autowiring support. Standard Doctrine services remain available through Symfony's Doctrine integration.
How should I test code that uses lyssal/doctrine-orm-bundle?
Use Symfony's KernelTestCase to boot the kernel and obtain Doctrine services for integration tests. Configure a test database such as in-memory SQLite and create the schema with Doctrine's schema tool. Wrap each test in a transaction or reset the database to keep tests isolated. For unit tests, mock the bundle's custom manager or repository helpers where possible.
What are the best alternatives for Laravel developers who want Doctrine ORM?
For Laravel, laravel-doctrine/orm is the most common bridge for integrating Doctrine ORM with Laravel's container and configuration. Eloquent remains the default and most idiomatic choice for Laravel applications. If you only need lower-level database access, doctrine/dbal may be enough. lyssal/doctrine-orm-bundle is Symfony-specific and is not a direct Laravel alternative.
Is lyssal/doctrine-orm-bundle actively maintained and production ready?
The repository and README excerpt were not provided, so maintenance status cannot be confirmed from this context alone. Check Packagist release history, GitHub commit activity, open issues, and test coverage before using it in production. Review the package source, especially any custom repository and manager helpers, for compatibility with your Doctrine ORM version. Pin dependency versions and run your own integration tests before deployment.
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.
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
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