Package Data | |
---|---|
Maintainer Username: | sebastiandedeyne |
Maintainer Contact: | hello@sebastiandedeyne.com (Sebastian De Deyne) |
Package Create Date: | 2015-04-21 |
Package Last Update: | 2015-04-22 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-19 03:04:45 |
Package Statistics | |
---|---|
Total Downloads: | 16 |
Monthly Downloads: | 1 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 3 |
Total Forks: | 0 |
Total Open Issues: | 0 |
Doctrine implementation in laravel 5. Work in progress.
composer require sebdd/laravel-doctrine
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.
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