pdustdar / passport-jwt-mongodb
There is no license information available for the latest version (V1.0.1) of this package.
V1.0.1
2021-02-22 07:38 UTC
Requires
- php: >=7.2
- illuminate/support: >=5.5
- jenssegers/mongodb: >=3.3
- laravel/passport: >=6.0
This package is auto-updated.
Last update: 2024-11-22 15:58:11 UTC
README
This package adds functionalities to the Eloquent model and Query builder for MongoDB, using the original Laravel API. This library extends the original Laravel classes, so it uses exactly the same methods.
Installation
Install the package via Composer:
$ composer require pdustdar/passport-jwt-mongodb
Service Provider
add the service provider to config/app.php
:
Pdustdar\MongoPass\MongoPassServiceProvider::class,
Eloquent
Extending the base model
This package includes a MongoDB enabled Eloquent class that you can use to define models for corresponding collections.
use Pdustdar\MongoPass\User as Authenticatable; class User extends Authenticatable { // }