phico/profiler 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

phico/profiler

Composer 安装命令:

composer require phico/profiler

包简介

Lightweight app timer and profiling middleware for Phico

README 文档

README

Lightweight app timer and profiling middleware for Phico

Installation

Using composer

composer require phico/profiler

Usage

Add the middleware to your application

// /app/middleware.php

$app->use[
    ...
    new \Phico\Profiler\ProfilerMiddleware,
    ...
];

Start a timer

$timer->start('account-action', 'You may add a description');

Stop a timer

$timer->stop('account-action');

Check the response headers for the details

Issues

Profiler is considered complete, however if you discover any bugs or issues in it's behaviour or performance please create an issue, and if you are able a pull request with a fix.

License

BSD-3-Clause

统计信息

  • 总下载量: 6
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2024-07-12