Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sebastiandedeyne/laravel-doctrine
Doctrine implementation in laravel 5
https://github.com/sebastiandedeyne/laravel-doctrine
Last synced: 14 days ago
JSON representation
Doctrine implementation in laravel 5
- Host: GitHub
- URL: https://github.com/sebastiandedeyne/laravel-doctrine
- Owner: sebastiandedeyne
- License: mit
- Created: 2015-04-21T12:06:33.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-04-22T12:24:28.000Z (over 9 years ago)
- Last Synced: 2024-10-17T16:06:10.572Z (27 days ago)
- Language: PHP
- Size: 141 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Laravel Doctrine
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
- [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
**columns.identifier** string ('id') The user identifier column
**columns.remember_token** string ('remember_token') The user remember_token column