sebdd / laravel-doctrine
Doctrine implementation in laravel 5
v0.2
2015-04-22 12:19 UTC
Requires
- php: >=5.5.0
- doctrine/orm: 2.5.*
- illuminate/console: 5.*
- illuminate/contracts: 5.*
- illuminate/support: 5.*
- symfony/console: ~2.5
This package is not auto-updated.
Last update: 2024-11-23 17:52:46 UTC
README
Doctrine implementation in laravel 5. Work in progress.
Installation
composer require sebdd/laravel-doctrine
Usage
All you need to do is register the service provider in config/app.php
'providers' => [
// ...
'Sebdd\LaravelDoctrine\DoctrineServiceProvider',
];
You can also optionally publish the configuration
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.
Features
- Entity Manager
- Console commands
- User provider
- Basic configuration
- Test coverage
Configuration
user_provider
enabled bool (true) Registers a doctrine user provider
columns.identifier string ('id') The user identifier column
columns.remember_token string ('remember_token') The user remember_token column