PHP code example of polares552 / activity-logger-laravel

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

    

polares552 / activity-logger-laravel example snippets

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