1. Go to this page and download the library: Download ijp/auth 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/ */
ijp / auth example snippets
use Tymon\JWTAuth\Contracts\JWTSubject;
use Ijp\Auth\Traits\IjpAuth;
class User extends Authenticatable implements JWTSubject
{
use Notifiable , IjpAuth;
protected $keyType = 'string';
// Implementasi metode yang diperlukan
}