PHP code example of sagar290 / laravel-logable

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

    

sagar290 / laravel-logable example snippets

 php
protected $middleware = [
    ...
    \Sagar290\Logable\Middleware\RouteLogMiddleware::class,
];
 php
php artisan vendor:publish --provider="Sagar290\Logable\LogableServiceProvider" --tag="config"
 php
php artisan logs:monitor
 php
php artisan logs:clear