Skip to content

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

License

Notifications You must be signed in to change notification settings

kiss-my/laravel-doctrine-orm

This branch is 8 commits ahead of, 6 commits behind laravel-doctrine/orm:1.7.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

51a3ddd · Feb 25, 2022
Jan 18, 2022
Jan 12, 2022
Feb 25, 2022
Feb 25, 2022
Jul 14, 2017
Sep 14, 2015
Sep 17, 2015
Jul 14, 2015
Mar 30, 2021
Feb 25, 2022
Jan 6, 2021

Repository files navigation

Laravel Doctrine ORM

GitHub release Github actions 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
  • 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

Require this package

composer require laravel-doctrine/orm doctrine/inflector:"^1.4|^2.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"

License

This package is licensed under the MIT license.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%