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

TomHAnderson/laravel-doctrine-orm

 
 

Repository files navigation

Laravel Doctrine ORM

An integration library for Laravel and Doctrine ORM

Build Status Code Coverage PHPStan License

Version 3.0 Notes

This library has been around for years as version 1 and 2. However these old versions don't support the latest Doctrine libraries. Version 3 does not try to maintain backwards compatibility with the old versions of this library. However, this author dropped it into the LDOG Stack and it worked without modification. Version 3 supports DBAL ^4.0 and ORM ^3.0.

Installation

Via composer:

composer require laravel-doctrine/orm ^3.0.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"

Documentation

Full documentation of this library does not exist at this time. However, the library is similar to the 2.0 version of this library.

Features

  • Easy configuration
  • Pre-configured metadata, connections and caching
  • Support for multiple entity managers and connections
  • Laravel naming strategy
  • Pagination
  • Simple authentication implementation
  • Password reminders implementation
  • Doctrine console commands
  • DoctrineExtensions supported
  • Timestamps and SoftDelete listeners
  • Extendable: extend or add your own drivers for metadata, connections or cache

License

See 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%