PHP code example of eugene / apilog

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

    

eugene / apilog example snippets


Eugene\ApiLog\RecordProvider::class,

Route::any('for',function(){
    return 'bar';
})->middleware('api.log');
bash
php artisan migrate