laravel-pinba maintained by chocofamilyme
Description
Integrates pinba with Laravel
Author
Last update
2024/04/02 07:01
(dev-fix)
License
Downloads
20 503
Last update
2023/03/07 08:30
License
Require
- php ^8.0.2
- illuminate/log ^8.0|^9.0|^10.0
- illuminate/http ^8.0|^9.0|^10.0
- illuminate/queue ^8.0|^9.0|^10.0
- illuminate/routing ^8.0|^9.0|^10.0
Last update
2023/03/07 08:30
License
Require
- php ^8.0.2
- illuminate/log ^8.0|^9.0|^10.0
- illuminate/http ^8.0|^9.0|^10.0
- illuminate/queue ^8.0|^9.0|^10.0
- illuminate/routing ^8.0|^9.0|^10.0
Last update
2023/03/07 08:30
License
Require
- php ^8.0.2
- illuminate/log ^8.0|^9.0|^10.0
- illuminate/http ^8.0|^9.0|^10.0
- illuminate/queue ^8.0|^9.0|^10.0
- illuminate/routing ^8.0|^9.0|^10.0
Last update
2022/04/21 12:40
License
Require
- php ^8.0.2
- illuminate/log ^8.0|^9.0
- illuminate/http ^8.0|^9.0
- illuminate/queue ^8.0|^9.0
- illuminate/routing ^8.0|^9.0
Last update
2022/04/12 08:43
License
Require
- php ^8.0.2
- illuminate/log ^8.0|^9.0
- illuminate/http ^8.0|^9.0
- illuminate/queue ^8.0|^9.0
- illuminate/routing ^8.0|^9.0
Last update
2021/01/12 08:45
License
Require
- php >= 7.4.0
- illuminate/log ^8.0
- illuminate/http ^8.0
- illuminate/queue ^8.0
- illuminate/routing ^8.0
Last update
2021/01/12 08:43
License
Require
- php >= 7.4.0
- illuminate/log ^8.0
- illuminate/http ^8.0
- illuminate/routing ^8.0
- illuminate/queue ^8.0
Last update
2021/01/05 11:52
License
Require
- php >= 7.4.0
- illuminate/log ^8.0
- illuminate/http ^8.0
- illuminate/queue ^8.0
- illuminate/routing ^8.0
Last update
2020/12/30 06:42
License
Require
- php >= 7.4.0
- illuminate/log ^8.0
- illuminate/http ^8.0
- illuminate/routing ^8.0
Last update
2020/12/30 05:49
License
Require
- php >= 7.4.0
- illuminate/log ^8.0
- illuminate/http ^8.0
- illuminate/routing ^8.0
Last update
2020/10/28 11:53
License
Require
- php >= 7.4.0
- illuminate/log ^8.0
- illuminate/http ^8.0
- illuminate/routing ^8.0
Last update
2020/10/28 11:52
License
Require
- php >= 7.4.0
- illuminate/log ^8.0
- illuminate/http ^8.0
- illuminate/routing ^8.0
Last update
2020/01/28 12:04
License
Require
- php >= 7.0.0
- laravel/framework ^5.7|^5.8|^6.0
Last update
2020/01/28 05:43
License
Require
- php >= 7.0.0
- laravel/framework ^5.7|^5.8|^6.0
Last update
2019/12/24 04:01
License
Require
- php >= 7.0.0
- laravel/framework ^5.7|^5.8|^6.0
Last update
2019/12/24 04:00
License
Require
- php >= 7.0.0
- laravel/framework ^5.7|^5.8|^6.0
Last update
2019/11/12 03:17
License
Require
- php >= 7.0.0
- laravel/framework ^5.7|^5.8|^6.0
laravel-pinba
Laravel pinba middleware and timers integraion
Description
Installation
composer require chocofamilyme/laravel-pinba
Publishing the configuration (optional)
php artisan vendor:publish --provider="Chocofamilyme\LaravelPinba\Providers\PinbaServiceProvider"
Configuration
Pinba
Pinba configuration file is located under config/pinba.php
Usage
There is a Facade for the libary called "Pinba"
Start the timer
$timerId = Pinba::startTimer(string $group, string $type, string $method, string $category);
Stop the timer
Pinba::stopTimer($timerId)
Stop all timers
Pinba::stopAllTimers();
More methods
Just see the class "Chocofamilyme\LaravelPinba\Profiler\PinbaDestination"
Destinations
Pinba
This library sends the data to the pinba server
File
This library sends the data to log file
Null
The data is not beeing sent