PHP code example of jlxh / laravel-userlog

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

    

jlxh / laravel-userlog example snippets


    Jlxh\UserLog\UserLogServiceProvider::class,

    'UserLog'   => Jlxh\UserLog\UserLogFacade::class,

use UserLog;
...

$log = UserLog::create(1, 'title', 'A', 'data', 'sql');
bash
php artisan userlog:migration
bash
php artisan migrate