2017 © Pedro Peláez
 

library laravel-doctrine

Doctrine implementation in laravel 5

image

sebdd/laravel-doctrine

Doctrine implementation in laravel 5

  • Wednesday, April 22, 2015
  • by sebastiandedeyne
  • Repository
  • 1 Watchers
  • 0 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Laravel Doctrine

Doctrine implementation in laravel 5. Work in progress., (*1)

Installation

composer require sebdd/laravel-doctrine

Usage

All you need to do is register the service provider in config/app.php, (*2)

'providers' => [
    // ...
    'Sebdd\LaravelDoctrine\DoctrineServiceProvider',
];

You can also optionally publish the configuration, (*3)

php artisan vendor:publish --provider="Sebdd\LaravelDoctrine\DoctrineServiceProvider"

If you're using the user provider, you'll also need to make sure auth.driver is set to "doctrine" and auth.model is correct., (*4)

Features

  • [x] Entity Manager
  • [x] Console commands
  • [x] User provider
  • [x] Basic configuration
  • [ ] Test coverage

Configuration

user_provider

enabled bool (true) Registers a doctrine user provider, (*5)

columns.identifier string ('id') The user identifier column, (*6)

columns.remember_token string ('remember_token') The user remember_token column, (*7)

The Versions