Download the PHP package pedmindset/laravel-couchbase-passport without Composer
On this page you can find all versions of the php package pedmindset/laravel-couchbase-passport. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pedmindset/laravel-couchbase-passport
More information about pedmindset/laravel-couchbase-passport
Files in pedmindset/laravel-couchbase-passport
Package laravel-couchbase-passport
Short Description A package to allow laravel/passport use with pedmindset/laravel-couchbase
License MIT
Homepage https://github.com/pedmindset/laravel-couchbase-passport
Informations about the package laravel-couchbase-passport
Laravel Couchbase Passport
A service provider to add support for Laravel Passport and Couchbase.
Table of contents
- Installation
Installation
Installation using composer:
You need to have your App\User
class extend Pedmindset\Couchbase\Auth\User.php
instead of the default Illuminate\Foundation\Auth\User
. This user class extends larvel-mongodb eloquent user as well as adding all the standard and required authentication and laravel passport traits.
Laravel version Compatibility
Laravel | Passport | Package |
---|---|---|
5.5.x | 4.0.x, 5.0.x, 6.0.x, 7.0.x | 1.1.x |
5.6.x | 4.0.x, 5.0.x, 6.0.x, 7.0.x | 1.1.x |
And add the service provider in config/app.php
:
For usage with Lumen, add the service provider in bootstrap/app.php
.
The service provider will overide the default laravel passport models in order to use couchbase's implementation of eloquent. There is no need to register any additional classes or add any additional configuration other than those outlined in Laravel Passport and Couchbase Laravel Package.
All versions of laravel-couchbase-passport with dependencies
pedmindset/laravel-couchbase Version ^0.6.4
laravel/passport Version 4.0.* || 5.0.* || 6.0.* || 7.0.*