fishingboy/codefinder
Composer 安装命令:
composer require fishingboy/codefinder
包简介
find your code
README 文档
README
English | 繁體中文
codefinder is a lightweight PHP runtime inspection helper. After it is loaded, it prints the list of included PHP files at the end of the request and provides a small search form for finding keywords in those files.
Requirements
- PHP 5.3 or later
Installation
Install with Composer:
composer require fishingboy/codefinder
Usage
Load code_finder.php in the request you want to inspect:
require_once __DIR__ . '/vendor/fishingboy/codefinder/code_finder.php';
When the request finishes, codefinder appends an inspection panel to the page.
Without a keyword, it shows all files returned by get_included_files().
After entering a keyword, it searches both included file paths and file
contents, then displays matching file names and matching lines.
The search form includes a case-insensitive option.
Notes
- Use this tool only in local development or controlled debugging environments.
- Do not enable it in production responses because it can expose file paths, source code, request data, and other sensitive information.
- The helper writes HTML directly to the response output.
License
This project is released under the MIT License.
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-07-24