Download the PHP package jimmeak/doctrine-bundle without Composer
On this page you can find all versions of the php package jimmeak/doctrine-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jimmeak/doctrine-bundle
More information about jimmeak/doctrine-bundle
Files in jimmeak/doctrine-bundle
Package doctrine-bundle
Short Description Making life easier while developing Symfony project using Doctrine
License MIT
Informations about the package doctrine-bundle
Doctrine Bundle by Jimmeak
This bundle has been created as helping hand across many Symfony projects, when Doctrine is present and more complex database Entities are required. You can use many predefined PHP traits and also one mapped superclass containing createdAt or updatedAt with Gedmo Doctrine Extension.
Installation
You need to use PHP 8.2 to run this bundle, since it contains new readonly classes syntax.
If you are using Symfony Flex, all you need to do is to run composer require command
If you are not using flex within the Symfony application, make sure you have the bundle registered
Usage
When creating database Entity object, you can use traits like FirstName or LastName
This Doctrine Bundle also contains Table Name Listener. It can take a name resolver interface and created database table names according to rules of this class. Default NameResolver created table names from Namespace hierarchy. Everything can be set in config file
Creating your own Name Resolver
The only important thing you need to have in mind is the implementation of correct interface. Create your own service
Then do not forget to turn the table name listener on and give him your service
All versions of doctrine-bundle with dependencies
doctrine/orm Version ^2.15|^3.0
doctrine/doctrine-bundle Version ^2.9
gedmo/doctrine-extensions Version ^3.11
symfony/string Version ^6.3|^7.0
symfony/uid Version ^6.3|^7.0
stof/doctrine-extensions-bundle Version ^1.8