chocofamilyme/laravel-pinba
最新稳定版本:4.0.0
Composer 安装命令:
composer require chocofamilyme/laravel-pinba
包简介
Integrates pinba with Laravel
README 文档
README
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
统计信息
- 总下载量: 20.09k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2019-11-12