PHP code example of lezhnev74 / http-analyzer-laravel-adapter
1. Go to this page and download the library: Download lezhnev74/http-analyzer-laravel-adapter 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/ */
lezhnev74 / http-analyzer-laravel-adapter example snippets
'providers' => [
...
'\HttpAnalyzer\Laravel\HttpAnalyzerServiceProvider'
],
#app/Console/Kernel.php
....
protected $commands = [
...
'\HttpAnalyzer\Laravel\DumpRecordedRequests',
];
...
protected function schedule(Schedule $schedule)
{
// you can set how often you want it to dump your requests to the Dashboard
// every minute is the most frequent mode
$schedule->command('http_analyzer:dump')->everyMinute();
}
php artisan vendor:publish --provider="HttpAnalyzer\Laravel\HttpAnalyzerServiceProvider"