An integration library for Laravel and Doctrine ORM
This library has been around for years as version 1 and 2. However these old versions don't support the latest Doctrine libraries. Version 3 does not try to maintain backwards compatibility with the old versions of this library. However, this author dropped it into the LDOG Stack and it worked without modification. Version 3 supports DBAL ^4.0 and ORM ^3.0.
Via composer:
composer require laravel-doctrine/orm ^3.0.0
Because of the auto package discovery feature Laravel has, the ServiceProvider and Facades are automatically registered.
To publish the config use:
php artisan vendor:publish --tag="config" --provider="LaravelDoctrine\ORM\DoctrineServiceProvider"
Full documentation of this library does not exist at this time. However, the library is similar to the 2.0 version of this library.
- Easy configuration
- Pre-configured metadata, connections and caching
- Support for multiple entity managers and connections
- Laravel naming strategy
- Pagination
- Simple authentication implementation
- Password reminders implementation
- Doctrine console commands
- DoctrineExtensions supported
- Timestamps and SoftDelete listeners
- Extendable: extend or add your own drivers for metadata, connections or cache
See LICENSE.