orm 0,1 travis-ci Packagist phpunit

A drop-in Doctrine ORM 2 implementation for Laravel 5+ and Lumen

Laravel Doctrine ORM

GitHub release Travis StyleCI Scrutinizer Packagist Packagist

A drop-in Doctrine ORM 2 implementation for Laravel 5+

$scientist = new Scientist(
    'Albert', 
    'Einstein'
);

$scientist->addTheory(
    new Theory('Theory of relativity')
);

EntityManager::persist($scientist);
EntityManager::flush();
  • Easy configuration
  • Pagination
  • Pre-configured metadata, connections and caching
  • Extendable: extend or add your own drivers for metadata, connections or cache
  • Annotations, yaml, xml, config and static php metadata mappings
  • Multiple entity managers and connections
  • Laravel naming strategy
  • Simple authentication implementation
  • Password reminders implementation
  • Doctrine console commands
  • DoctrineExtensions supported
  • Timestamps, Softdeletes and TablePrefix listeners

Documentation

Read the full documentation.

Versions

Version Supported Laravel Versions Support
1.0.x 5.1.x Bugfix and security releases
1.1.x 5.2.x Bugfix and security releases
1.2.x 5.2.x, 5.3.x New features

Require this package

composer require "laravel-doctrine/orm:1.2.*"

After adding the package, add the ServiceProvider to the providers array in config/app.php

LaravelDoctrine\ORM\DoctrineServiceProvider::class,

Optionally you can register the EntityManager facade:

'EntityManager' => LaravelDoctrine\ORM\Facades\EntityManager::class

To publish the config use:

php artisan vendor:publish --tag="config"

License

This package is licensed under the MIT license.

Related Repositories

android-lite-orm

android-lite-orm

LiteOrm is a fast, small, powerful ORM framework for Android. LiteOrm makes you do CRUD operarions on SQLite database with a sigle line of code efficiently. ...

redux-orm

redux-orm

A small, simple and immutable ORM to manage relational data in your Redux store. ...

orm

orm

A drop-in Doctrine ORM 2 implementation for Laravel 5+ and Lumen ...

dflydev-doctrine-orm-service-provider

dflydev-doctrine-orm-service-provider

Doctrine ORM Service Provider ...

orm

orm

Kohana ORM ...


Top Contributors

patrickbrouwers FoxxMD mbbender maxbrokman yuloh ZoozyCN gmsantos sisve Amrit01 driesvints adrianhardy guiwoda R3VoLuT1OneR adridev Lavoaster DerPapst amitailanciano DanWithams IonelScutelnicu jessemortenson jwpage greydnls leeovery fureszpeter pop-mihai jee7 zorji malpertuis

Dependencies

package version
php >=5.6.4
doctrine/orm 2.5.*
illuminate/auth 5.4.*
illuminate/console 5.4.*
illuminate/container 5.4.*
illuminate/contracts 5.4.*
illuminate/pagination 5.4.*
illuminate/routing 5.4.*
illuminate/support 5.4.*
illuminate/validation 5.4.*
illuminate/view 5.4.*
symfony/serializer ^2.7 | ^3.0
dev phpunit/phpunit ~5.0
mockery/mockery 1.0.0-alpha1
barryvdh/laravel-debugbar ~2.0
itsgoingd/clockwork ~1.9
illuminate/log 5.4.*
illuminate/notifications 5.4.*
illuminate/queue 5.4.*

Releases

-   1.2.8 zip tar
-   1.2.7 zip tar
-   1.2.6 zip tar
-   1.2.5 zip tar
-   1.2.4 zip tar
-   1.2.3 zip tar
-   1.2.2 zip tar
-   1.2.1 zip tar
-   1.2.0 zip tar
-   1.1.13 zip tar
-   1.1.12 zip tar
-   1.1.11 zip tar
-   1.1.10 zip tar
-   1.1.9 zip tar
-   1.1.8 zip tar
-   1.1.7 zip tar
-   1.1.6 zip tar
-   1.1.5 zip tar
-   1.1.4 zip tar
-   1.1.3 zip tar
-   1.1.2 zip tar
-   1.1.1 zip tar
-   1.1.0 zip tar
-   1.0.21 zip tar
-   1.0.20 zip tar
-   1.0.19 zip tar
-   1.0.18 zip tar
-   1.0.17 zip tar
-   1.0.16 zip tar
-   1.0.15 zip tar