Laravel pinba middleware and timers integraion
composer require chocofamilyme/laravel-pinba
php artisan vendor:publish --provider="Chocofamilyme\LaravelPinba\Providers\PinbaServiceProvider"
Pinba configuration file is located under config/pinba.php
There is a Facade for the libary called "Pinba"
$timerId = Pinba::startTimer(string $group, string $type, string $method, string $category);
Pinba::stopTimer($timerId)
Pinba::stopAllTimers();
Just see the class "Chocofamilyme\LaravelPinba\Profiler\PinbaDestination"
This library sends the data to the pinba server
This library sends the data to log file
The data is not beeing sent