Stars: 808
Forks: 175
Pull Requests: 280
Issues: 280
Watchers: 45
Last Updated: 2023-09-07 22:36:59
A drop-in Doctrine ORM 2 implementation for Laravel 5+ and Lumen
License: MIT License
Languages: PHP
A drop-in Doctrine ORM 2 implementation for Laravel
$scientist = new Scientist(
'Albert',
'Einstein'
);
$scientist->addTheory(
new Theory('Theory of relativity')
);
EntityManager::persist($scientist);
EntityManager::flush();
Version | Supported Laravel Versions |
---|---|
~1.5 | 6.x |
~1.6 | 7.x |
~1.7 | 8.x |
~1.8 | 9.x |
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"
This package is licensed under the MIT license.