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 Bundle

Doctrine Bundle Laravel Package

ruvents/doctrine-bundle

A Symfony bundle that integrates Doctrine ORM by registering entity managers, database connections, and mapping configuration. It provides default services and config for Doctrine-backed applications, simplifying persistence setup.

View on GitHub
Deep Wiki
Context7

ruvents/doctrine-bundle provides a streamlined integration layer for Doctrine ORM in PHP applications, reducing the boilerplate needed to configure entity managers, mappings, and database connections. It fits into existing service-container setups and offers sensible defaults so Doctrine can be registered and used with minimal configuration.

  • Centralized Doctrine configuration
  • Entity manager and connection wiring
  • Mapping metadata and repository support
  • Container/service integration
  • Extensible defaults for custom setups
Frequently asked questions about Doctrine Bundle
What is ruvents/doctrine-bundle used for?
It is a Symfony bundle that extends Doctrine integration with repository, query, and configuration utilities for Doctrine ORM/DBAL. It is intended to streamline common entity and database tasks in Symfony applications. It is not a Laravel package.
Is ruvents/doctrine-bundle compatible with Laravel?
No. The package is a Symfony bundle built around Symfony's Doctrine integration, so it does not target Laravel's Eloquent ORM or service container. Laravel developers should look for Laravel-specific Doctrine integrations or Eloquent-based packages instead.
How do I install ruvents/doctrine-bundle?
Install it with Composer using composer require ruvents/doctrine-bundle. Then register the bundle in your Symfony application's bundle configuration, typically in config/bundles.php. Check the repository README for the exact registration and configuration steps.
What Laravel versions does ruvents/doctrine-bundle support?
None; it is a Symfony bundle and does not declare Laravel framework support. Laravel version constraints are not applicable to this package. If you need a Laravel package, choose one built on Laravel service providers and either Eloquent or a Laravel Doctrine integration.
Does it work with Doctrine ORM and DBAL?
Yes. The package is described as extending Doctrine integration with repository, query, and configuration utilities for Doctrine ORM/DBAL. It targets Symfony applications that already use Doctrine. Confirm the supported Doctrine versions in the package's composer.json before installing.
How do I configure ruvents/doctrine-bundle?
Configuration is handled through your Symfony application's bundle configuration, following the package README. The bundle provides configuration utilities, but the exact keys and options depend on the version and your application setup. Review the repository documentation before changing production configuration.
Is ruvents/doctrine-bundle suitable for production use?
It is a Symfony bundle intended for normal application use, but production readiness depends on version compatibility, configuration, and testing in your own app. Run your test suite and staging checks before deploying. Also review the repository for recent maintenance activity and open issues.
How do I test code that uses ruvents/doctrine-bundle?
Test it within a Symfony kernel or functional test so the bundle and Doctrine services are bootstrapped correctly. Use a dedicated test database and exercise the repository and query utilities as you would in application code. For isolated unit tests, mock repository dependencies where practical.
What are alternatives to ruvents/doctrine-bundle?
Alternatives include Symfony's standard DoctrineBundle plus your own repository and query helpers, or other Doctrine extension bundles. For Laravel, consider Laravel Doctrine packages or Eloquent-based approaches. Choose based on whether you need Symfony bundle integration or Laravel-native tooling.
Is ruvents/doctrine-bundle actively maintained?
Maintenance status is not specified in the provided context. Check the GitHub repository for recent commits, releases, and open issues before adopting it. Pin a version in composer.json and review the license and support expectations.
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.
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect
youbar/easy-crud
c-point-labs/laravel-hostyourai
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo