A Doctrine ORM bridge for Laravel 5

laravel-doctrine/orm image

laravel-doctrine/orm stats

Downloads
3M
Stars
807
Open Issues
32
Forks
175

View on GitHub →

Laravel-doctrine Orm Readme


Laravel Doctrine ORM

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();
  • Easy configuration
  • Pagination
  • Pre-configured metadata, connections and caching
  • Extendable: extend or add your own drivers for metadata, connections or cache
  • Fluent, Annotations, YAML, SimplifiedYAML, XML, SimplifiedXML, 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
~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"

License

This package is licensed under the MIT license.

laravel-doctrine photo

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

Cube

Laravel Newsletter

Join 40k+ other developers and never miss out on new tips, tutorials, and more.


Laravel Doctrine Orm Related Articles

Laravel 8.20 Released image

Laravel 8.20 Released

Read article
Skipper is a powerful visual editor for Laravel Eloquent image

Skipper is a powerful visual editor for Laravel Eloquent

Read article
Getting started with Doctrine 2 and Laravel image

Getting started with Doctrine 2 and Laravel

Read article
ActiveRecord and the Beauty Lost in Translation image

ActiveRecord and the Beauty Lost in Translation

Read article
LaraJobs logo

LaraJobs

The official Laravel job board

LaraJobs
Lunar: Laravel E-Commerce logo

Lunar: Laravel E-Commerce

E-Commerce for Laravel. An open-source package that brings the power of modern headless e-commerce functionality to Laravel.

Lunar: Laravel E-Commerce
Tinkerwell logo

Tinkerwell

The must-have code runner for Laravel developers. Tinker with AI, autocompletion and instant feedback on local and production environments.

Tinkerwell
Lucky Media logo

Lucky Media

Get Lucky Now - the ideal choice for Laravel Development, with over a decade of experience!

Lucky Media
Kirschbaum logo

Kirschbaum

Providing innovation and stability to ensure your web application succeeds.

Kirschbaum
Bacancy logo

Bacancy

Supercharge your project with a seasoned Laravel developer with 4-6 years of experience for just $2500/month. Get 160 hours of dedicated expertise & a risk-free 15-day trial. Schedule a call now!

Bacancy