whoops
13,226
Stars
—
Forks
0
Watchers
—
Open Issues
待补全
许可证
PHP
语言
—
创建时间
最近更新
项目能做什么
为 PHP 开发者打造的现代化、易读且美观的错误处理库。
来源:AI 基于仓库事实生成
· 内容以仓库实际 README 为准
使用说明 查看原始 README 原仓库文档
中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
# whoops PHP errors for cool kids [](https://packagist.org/packages/filp/whoops) [](https://packagist.org/packages/filp/whoops) [](https://github.com/filp/whoops/actions?query=workflow%3ATests) [](https://scrutinizer-ci.com/g/filp/whoops) [](https://scrutinizer-ci.com/g/filp/whoops) -----  **whoops** is an error handler framework for PHP. Out-of-the-box, it provides a pretty error interface that helps you debug your web projects, but at heart it's a simple yet powerful stacked error handling system. ## Features - Flexible, stack-based error handling - Stand-alone library with (currently) no required dependencies - Simple API for dealing with exceptions, trace frames & their data - Includes a pretty rad error page for your webapp projects - Includes the ability to [open referenced files directly in your editor and IDE](docs/Open%20Files%20In%20An%20Editor.md) - Includes handlers for different response formats (JSON, XML, SOAP) - Easy to extend and integrate with existing libraries - Clean, well-structured & tested code-base ## Sponsors <a href="https://blackfire.io/docs/introduction?utm_source=whoops&utm_medium=github_readme&utm_campaign=logo"><img src="docs/sponsors/blackfire.png" alt="Blackfire.io" width="275" height="70"></a> <a href="https://oblak.host/"><img src="docs/sponsors/oblak.png" alt="Oblak Host" width="245" height="70"></a> ## Installing If you use Laravel 4, Laravel 5.5+, [Mezzio](https://docs.mezzio.dev/mezzio/) or [ZubZet 1.2+](https://zubzet.com/), you already have Whoops. There are also community-provided instructions on how to integrate Whoops into [Silex 1](https://github.com/whoops-php/silex-1), [Silex 2](https://github.com/texthtml/whoops-silex), [Phalcon](https://github.com/whoops-php/phalcon), [Laravel 3](https://gist.github.com/hugomrdias/5169713#file-start-php), [Laravel 5](https://github.com/GrahamCampbell/Laravel-Exceptions), [CakePHP 3](https://github.com/dereuromark/cakephp-whoops/tree/cake3), [CakePHP 4](https://github.com/dereuromark/cakephp-whoops), [Zend 2](https://github.com/ghislainf/zf2-whoops), [Zend 3](https://github.com/Ppito/zf3-whoops), [Yii 1](https://github.com/igorsantos07/yii-whoops), [FuelPHP](https://github.com/indigophp/fuel-whoops), [Slim](https://github.com/zeuxisoo/php-slim-whoops/), [Pimple](https://github.com/texthtml/whoops-pimple), [Laminas](https://github.com/Ppito/laminas-whoops), or any framework consuming [StackPHP middlewares](https://github.com/the阅读完整原文
项目深度分析 AI 生成
Whoops AI Debugger 增强插件(SaaS / IDE 扩展)
| 产品构想 | 基于 Whoops 的堆栈捕获能力,在本地错误页面集成 AI 深度诊断按钮,一键分析根因并提供针对当前代码上下文的 Patch 建议。 |
| 核心功能 | 本地错误页面的 AI 诊断面板、结合本地文件的上下文语义补全、一键应用 Git diff 修复方案、私有化 LLM Key 支持。 |
| 目标用户 | 个人独立开发者、中小型 PHP 研发团队。 |
| 难度/周期 | 中等 · 3 - 5 周 · 成本:极低(主要是轻量扩展开发和少量中转云服务) |
| 收费模式 | 免费版自带少量额度/自带 Key,高级版按订阅制($5-15/月)提供高阶推理模型与多框架特定知识库。 |
| 竞争风险 | 市面上泛用型 AI 工具(如 Cursor、GitHub Copilot)普及,专门针对 Whoops 的单点工具替代门槛较低。 |
| 依据 | 推测 |
Whoops Pro:轻量级自托管远程错误捕获服务
| 产品构想 | 利用 Whoops 现有的 Stack 扩展机制(推测),构建一个极轻量的类 Sentry 本地化/边缘端异常收集中心,专攻中小型内网系统及小型项目。 |
| 核心功能 | Whoops 客户端扩展一键上报、轻量自托管看板(Docker 镜像)、通知渠道联动(飞书/Slack/钉钉)、团队多人协作与错误归重。 |
| 目标用户 | 不想维护笨重 Sentry、注重内网隐私的中小企业或外包开发团队。 |
| 难度/周期 | 高 · 2 - 3 个月 · 成本:中等(需维护服务端架构、存储与演示环境) |
| 收费模式 | 自托管社区版开源,商业企业版(高级鉴权、审计、多租户支持)收取一次性 License 或技术支持费用。 |
| 竞争风险 | 面临成熟 APM 和错误监控系统(如 Sentry, Ray, Flare)的强烈竞争。 |
| 依据 | 尚需验证的假设 |
开发者专属工作流扩展与高级主题/集成包
| 产品构想 | 针对桌面开发环境与各类 IDE(PhpStorm、VSCode 等)深度定制交互增强版 Whoops UI,增加一键断点调试联动、Docker 容器映射修复工具。 |
| 核心功能 | 现代化暗黑主题与可定制皮肤、容器路径到宿主机 IDE 路径自动映射转换、团队专属调试日志共享(本地临时 Session 共享)。 |
| 目标用户 | 追求极致本地调试体验的高级 PHP 开发者与技术团队。 |
| 难度/周期 | 低 · 2 - 4 周 · 成本:极低 |
| 收费模式 | 通过 Gumroad 等平台售卖高级主题/专业扩展包(一次性付费 $19 - $49)。 |
| 竞争风险 | PHP 社区开源免费文化浓厚,针对纯前端 UI 和小型效率工具的付费意愿可能偏低。 |
| 依据 | 数据支持的判断 |
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心
竞品与相似项目 GitHub Search 真实检索
相似项目数据正在完善中,暂不展示(避免误导)
项目优势与风险
| 技术成熟度 | 创建时间待补全,最近推送 |
| 社区活跃 | Star 13,226 / Fork 0 / Issue 0(数据支持,可自行核实) |
| 许可证 | 未检测到(需人工确认) |
| 主要风险 | 上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价 |
安装与使用
此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。