PHP code example of pdustdar / passport-jwt-mongodb
1. Go to this page and download the library: Download pdustdar/passport-jwt-mongodb library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
pdustdar / passport-jwt-mongodb example snippets
Pdustdar\MongoPass\MongoPassServiceProvider::class,
use Pdustdar\MongoPass\User as Authenticatable;
class User extends Authenticatable
{
//
}