JosephLenton/PHP-Error
Better error reporting for PHP, and prettier too! observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5198
- days_rel: n/a
- days_push: 1782
- n_releases_24m: 0
Adoption not part of the score
1332 stars · 149 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A single-file PHP library that replaces default PHP error output with pretty, readable full stack traces including syntax highlighting and code snippets. It also intercepts and displays server errors during Ajax requests in the browser, with automatic request retry.
Use cases
- display readable stack traces for PHP errors during development
- debug PHP errors in Ajax requests without changing JavaScript
- show code snippets and syntax highlighting in error output
- make PHP errors strict to catch bugs earlier
- retry failed Ajax requests after fixing a server error
When to choose
- you are developing a PHP application and want much better error output than the default
- you want a zero-config, single-file drop-in error handler
- you debug Ajax-heavy PHP apps and want server errors shown in the browser
When to avoid
- in production - the library deliberately makes your site unsafe and leaks information
- you need an actively maintained error handler (the project is explicitly unmaintained)
- you use a modern framework that already ships a robust error handler
Facets
library · maturity abandoned
error-handling developer-tools logging developer-tools web-development php browser error-reporting stack-trace debugging ajax-debugging syntax-highlighting development-only php web-server
1 source
- readme: https://github.com/JosephLenton/PHP-Error · fetched 2026-08-28 · 926d46fbc159
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| JosephLenton/PHP-Error | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="JosephLenton/PHP-Error")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem