Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Collision Laravel Package

nunomaduro/collision

Collision provides beautiful, developer-friendly CLI error reporting for PHP apps. Built on Whoops and included with Laravel, it integrates with Symfony, PHPUnit, and more to show rich stack traces and context when exceptions happen.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit: Optimized for CLI-centric PHP applications (Laravel, Symfony, standalone). Seamlessly integrates with Laravel's existing error handling system and Symfony Console components. Built on Whoops for robust error rendering while adding Laravel-specific enhancements like Artisan command integration.

Integration feasibility: Straightforward Composer installation with clear version constraints. Requires PHP 8.2+ and compatible Symfony Console/Whoops versions. Non-Laravel projects need manual registration via Provider::register() but follow standard PHP error handler patterns. Laravel projects get automatic integration via framework bootstrapping.

Technical risk: Low to moderate. Maintained by Laravel core contributor (Nuno Maduro) with high activity (4644 stars, regular releases). Strict PHP 8.2+ requirement blocks legacy projects. Symfony Console dependency version conflicts possible in mixed-stack environments. Breaking changes in major Collision versions could occur if not pinned correctly.

Key questions: How does it handle custom exception types or third-party framework-specific errors? What is the upgrade path when migrating between Laravel major versions? Are there performance implications for high-volume CLI jobs? Does it support custom error templates or theming beyond Termwind's defaults?

Integration Approach

Stack fit: Ideal for Laravel projects (pre-integrated) and Symfony CLI apps. Termwind dependency aligns with Laravel's modern styling ecosystem. Works with PHPUnit/Pest for test error reporting. Not suitable for non-CLI environments (e.g., web requests). Best used where terminal output quality matters for developer experience.

Migration path: For Laravel 8-12, strictly follow version compatibility table (e.g., Laravel 11.x → Collision 8.x). Existing Whoops integrations can be replaced by unregistering Whoops and registering Collision. For legacy frameworks, replace custom error handlers with Collision's provider registration in CLI entrypoints.

Compatibility: Requires PHP 8.2+ and Symfony Console 7.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport