pfaciana/php-error-log-viewer
Composer 安装命令:
composer require pfaciana/php-error-log-viewer
包简介
A WordPress plugin that provides an interface to view, manage, and analyze PHP error logs across your WordPress installation.
README 文档
README
A WordPress plugin that provides an interface to view, manage, and analyze PHP error logs across your WordPress installation.
Overview
PHP Error Log Viewer simplifies the process of monitoring and debugging PHP errors in WordPress installations. It automatically scans your WordPress installation directory for error logs and presents them in an interactive table.
Features
- 🔍 Recursively searches for error logs throughout your WordPress installation
- 📊 Interactive table display with sorting and filtering capabilities
- 🗑️ Delete individual error entries or entire log files
- ⚙️ Configurable settings for customizing the search behavior
- 🔗 IDE integration for direct file linking
- 🚀 Efficient handling of large log files
Settings
Navigate to the Settings tab to configure:
- Directory Depth - How many levels of subdirectories to search (default: 7)
- Exclude Directories - Comma-separated list of directories to exclude from searching (default: node_modules, vendor)
- Include Error Logs - Additional custom error log filenames to include in the search
- IDE Integration - Configure direct file linking to your IDE:
- Enable/disable file linking
- Set the file link format (e.g.,
http://localhost:63342/api/file/%f:%l) - Configure path replacement for remote/local development
Usage
Navigate to 'Error Log Viewer' in the WordPress admin menu
Managing Errors
- Click ❌ to remove individual errors from log files
- Use the 🗑️ button to delete entire log files
IDE Integration
To enable IDE integration:
- Enable the "File Link Format" option in settings
- Enter your IDE's URL format (e.g.,
http://localhost:63342/api/file/%f:%l) - Optionally set a path replacement if your local path differs from the server
pfaciana/php-error-log-viewer 适用场景与选型建议
pfaciana/php-error-log-viewer 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 6 次下载、GitHub Stars 达 0, 最近一次更新时间为 2024 年 11 月 10 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 pfaciana/php-error-log-viewer 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 pfaciana/php-error-log-viewer 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 19
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-only
- 更新时间: 2024-11-10