# JosephLenton/PHP-Error

Better error reporting for PHP, and prettier too!

Repository: https://github.com/JosephLenton/PHP-Error
Canonical: https://ross.abutalabs.com/products/php-error
Language: PHP
License Family: other
Last push: 2021-10-16T05:10:36+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5198, "days_push": 1782, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1332, forks 149 (observed 2026-08-28T04:04:24.521660+00:00)

## What it is
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
- artifact type: library
- maturity: abandoned
- function: error-handling, developer-tools, logging
- domain: developer-tools, web-development
- platform: php, browser
- tags: error-reporting, stack-trace, debugging, ajax-debugging, syntax-highlighting, development-only, php, web-server

## Member repositories
- JosephLenton/PHP-Error (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:24.521660+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:45:08.914294+00:00, confidence not recorded.
  - readme: https://github.com/JosephLenton/PHP-Error (fetched 2026-08-28T04:04:24.521660+00:00, sha 926d46fbc159)
- Data as of 2026-08-30T08:39:29.467469+00:00.
