PHP code example of sureyee / laravel-action-log
1. Go to this page and download the library: Download sureyee/laravel-action-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/ */
sureyee / laravel-action-log example snippets
return [
'watching' => [
\App\Models\User::class
]
];
use Sureyee\ActionLog\Traits\ActionLogAble;
class User extends Authenticatable
{
use Notifiable, HasApiTokens, SoftDeletes, HasRolesAndAbilities, ActionLogAble;
}
class User extends Authenticatable
{
protected $excepts = ['updated_at', 'created_at'];
}