| Package Data | |
|---|---|
| Maintainer Username: | kk-r |
| Maintainer Contact: | krishwebz@gmail.com (krishna) |
| Package Create Date: | 2017-07-31 |
| Package Last Update: | 2017-07-31 |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-12-10 15:02:15 |
| Package Statistics | |
|---|---|
| Total Downloads: | 22 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 3 |
| Total Watchers: | 1 |
| Total Forks: | 2 |
| Total Open Issues: | 0 |
Laravel package for analyze request with timing, slow query and duplicate queries. Lot of things in bucket list. Feel free to contribute.
composer require kk-r/laravel-request-analyzer
Add the provider to your config/app.php:
// in your config/app.php add the provider to the service providers key
'providers' => [
kkr\laravelRequestAnalyze\Providers\RequestAnalyzeServiceProvider::class,
]
// You have add middleware for analyze requests individually ####Add inside app\Http\Kernal.php in Top mention
use kkr\laravelRequestAnalyze\Middleware\RequestAnalyze as RequestAnalyzer;
####For individual route add inside $routeMiddleware and don't forget to add middleware in Route.
protected $routeMiddleware => [
.....
'RequestAnalyzer' => RequestAnalyzer::class,
]
####OR for group level routes add inside middleware Groups
protected $middlewareGroups => [
.....
RequestAnalyzer::class,
]
####OR for all routes add middleware globally
protected $middleware => [
.....
RequestAnalyzer::class,
]
This package is open-sourced software licensed under the MIT license