PHP code example of amandiobm / laravel-logger

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

    

amandiobm / laravel-logger example snippets


    'providers' => [
        jeremykenedy\LaravelLogger\LaravelLoggerServiceProvider::class,
    ];

    php artisan migrate

activity

Route::group(['middleware' => ['web', 'activity']], function () {
    Route::get('/', 'WelcomeController@welcome')->name('welcome');
});

    use jeremykenedy\LaravelLogger\App\Http\Traits\ActivityLogger;

    use ActivityLogger;
bash
    php artisan vendor:publish --tag=LaravelLogger