PHP code example of hbliang / laravel-auth-log

1. Go to this page and download the library: Download hbliang/laravel-auth-log 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/ */

    

hbliang / laravel-auth-log example snippets


use Hbliang\AuthLog\Contracts\Authlogable;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Hbliang\AuthLog\Traits\HasAuthLog;

class User extends Authenticatable implements Authlogable
{
    use HasAuthLog;
}