PHP code example of aldijakaria / laravel-activity-log

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

    

aldijakaria / laravel-activity-log example snippets


Route::get('/home', function () {
    return view('home');
})->middleware('track:your activity name');
shell
php artisan migrate
shell
php artisan vendor:publish --provider="Aldijakaria\LaravelActivityLog\Providers\LaravelActivityLogProvider" --tag="config"