cakephp/debug_kit
Composer 安装命令:
composer require --dev cakephp/debug_kit
包简介
CakePHP Debug Kit
README 文档
README
DebugKit provides a debugging toolbar and enhanced debugging tools for CakePHP applications. It lets you quickly see configuration data, log messages, SQL queries, and timing data for your application.
⚠️ DebugKit is only intended for use in single-user local development environments. You should avoid using DebugKit in shared development environments, staging environments, or any environment where you need to keep configuration data and environment variables hidden. ⚠️
Requirements
- SQLite (pdo_sqlite) or another database driver that CakePHP can talk to. By default DebugKit will use SQLite, if you need to use a different database see the Database Configuration section in the documentation linked below.
For details and older versions see version map.
Installation
- Install the plugin with Composer from your CakePHP Project's ROOT directory (where the composer.json file is located)
php composer.phar require --dev cakephp/debug_kit:"^5.0"
bin/cake plugin load DebugKit --only-debug
Is DebugKit not working?
If you don't see a CakePHP icon on the bottom right of your page DebugKit is not be working correctly. Some common problems are:
- Your PHP environment doesn't have SQLite installed. Check your application logs to confirm if this happening. You can either configure DebugKit to use a different database, or install the PDO SQLite 3 extension.
- Your hostname needs to be added to the
DebugKit.safeTld. If your local domain isn't a known development environment name, DebugKit will disable itself to protect a potentially non-development environment. - If you are using the Authorization Plugin
you need to set
DebugKit.ignoreAuthorizationtotruein your config.
Reporting Issues
If you have a problem with DebugKit please open an issue on GitHub.
Contributing
If you'd like to contribute to DebugKit, check out the roadmap for any planned features. You can fork the project, add features, and send pull requests or open issues.
Documentation
Documentation for DebugKit can be found in the CakePHP documentation.
Panels
Panels by other plugins:
L10nby Setup plugin to show current localization for Date, DateTime, Time objects/values.Twigby Twig plugin to list all templates.
cakephp/debug_kit 适用场景与选型建议
cakephp/debug_kit 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 14.6M 次下载、GitHub Stars 达 842, 最近一次更新时间为 2012 年 11 月 20 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「debug」 「cakephp」 「kit」 「dev」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 cakephp/debug_kit 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 cakephp/debug_kit 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 cakephp/debug_kit 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
CakePHP 4.x AdminLTE Theme.
Debug your SimpleBus EventBus and CommandBus
nice output for debug functions for PHP 5.3
Laravel Filament Starter.
Analysis module for finding problematical shop data.
Twig extensions for Tracy Debugger
统计信息
- 总下载量: 14.6M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 865
- 点击次数: 18
- 依赖项目数: 170
- 推荐数: 2
其他信息
- 授权协议: MIT
- 更新时间: 2012-11-20