A Doctrine ORM bridge for Laravel 5
3,443,316
816
45
Package Data
Maintainer Username: eigan
Maintainer Contact: patrick@maatwebsite.nl (Patrick Brouwers)
Package Create Date: 2015-07-13
Package Last Update: 2024-03-02
Home Page: http://laraveldoctrine.org
Language: PHP
License: MIT
Last Refreshed: 2024-04-15 15:03:10
Package Statistics
Total Downloads: 3,443,316
Monthly Downloads: 71,659
Daily Downloads: 1,687
Total Stars: 816
Total Watchers: 45
Total Forks: 177
Total Open Issues: 34

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 | EOL 1.1.x | 5.2.x | EOL 1.2.x | 5.2.x, 5.3.x | Security releases 1.3.x | 5.4.x | Bugfix and security releases 1.4.x | 5.5.x | New features

Require this package

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

Because of the auto package discovery feature Laravel 5.5 has, the ServiceProvider and Facades are automatically registered.

To publish the config use:

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

License

This package is licensed under the MIT license.