finds.dev← search

// the find

nunomaduro/collision

★ 4,652 · PHP · MIT · updated Jun 2026

💥 Collision is a beautiful error reporting tool for command-line applications

Collision is a CLI error handler for PHP that replaces the default stack trace wall with syntax-highlighted, human-readable output. It ships inside Laravel by default and also works standalone with Symfony, bare PHP, and PHPUnit/Pest. If you've ever run `php artisan` and gotten a pretty error frame with source context, this is what produced it.

Built on Whoops but adds proper Symfony Console integration, so output respects terminal width and verbosity flags rather than dumping raw HTML. The PHPUnit/Pest adapter rewrites test output entirely — progress dots, failure diffs, and coverage summary all get the same treatment, which is more useful than PHPUnit's default reporter. Actively maintained by the same person who maintains Pest, so the version compatibility table stays current with each Laravel and PHPUnit release cycle. The adapter architecture is clean enough that adding a new framework integration is a small, focused task.

Outside the Laravel/Pest ecosystem this is largely redundant — Symfony has its own console error rendering, and most other frameworks don't benefit enough to justify the extra dependency. The README is thin on non-Laravel usage; the 'No adapter' section is two lines and leaves you guessing about what the Provider actually hooks into. Coverage reporting is tied to Xdebug or PCOV and silently produces nothing if neither is present, with no obvious error message. The test suite bundles an entire Laravel app under `tests/LaravelApp/`, which makes the repo heavier than it needs to be for something with this narrow a scope.

View on GitHub → Homepage ↗

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →