Get expert guidance in a few days with a Laravel code review

Collision

nunomaduro/collision image

Collision stats

Downloads
150.2M
Stars
4,349
Open Issues
8
Forks
153

View on GitHub →

Cli error handling for console/command-line PHP applications.

Collision Package Summary

Collision is a PHP package designed to enhance error reporting in command-line applications. Developed by Nuno Maduro, this package is seamlessly integrated by default in Laravel and is built upon the robust Whoops error handler framework.

Key Features:

  • Enhanced Error Reporting: Offers detailed and beautifully formatted error messages that improve the debugging process in CLI environments.
  • Framework Compatibility: Supports a variety of frameworks including Laravel, Symfony, PHPUnit, and Pest, ensuring broad usability across different PHP projects.
  • Requires PHP 8.1+: Utilizes the latest PHP features for optimal performance and reliability.

Installation:

Collision can be easily installed via Composer as a development dependency to keep your production environment clean. Use the following command:

composer require nunomaduro/collision --dev

Usage:

Once installed, Collision automatically integrates with your Laravel project, providing an improved error handling experience right out of the box for your command-line applications.

For developers looking to streamline their CLI debugging processes, Collision offers a powerful, user-friendly solution that not only simplifies error handling but also beautifies it, making troubleshooting a less daunting task.

nunomaduro photo

Software engineer at @laravel — working on Laravel, Forge, and Vapor. Created @pestphp, @laravel-zero, collision, @openai-php, php insights, termwind, etc.

Cube

Laravel Newsletter

Join 40k+ other developers and never miss out on new tips, tutorials, and more.


Nunomaduro Collision Related Articles

PestPHP Released as Open-Source image

PestPHP Released as Open-Source

Read article
Collision PHPUnit Listener With Laravel image

Collision PHPUnit Listener With Laravel

Read article
Harpoon: Next generation time tracking and invoicing logo

Harpoon: Next generation time tracking and invoicing

The next generation time-tracking and billing software that helps your agency plan and forecast a profitable future.

Harpoon: Next generation time tracking and invoicing
Curotec logo

Curotec

World class Laravel experts with GenAI dev skills. LATAM-based, embedded engineers that ship fast, communicate clearly, and elevate your product. No bloat, no BS.

Curotec
Lucky Media logo

Lucky Media

Get Lucky Now - the ideal choice for Laravel Development, with over a decade of experience!

Lucky Media
SaaSykit: Laravel SaaS Starter Kit logo

SaaSykit: Laravel SaaS Starter Kit

SaaSykit is a Multi-tenant Laravel SaaS Starter Kit that comes with all features required to run a modern SaaS. Payments, Beautiful Checkout, Admin Panel, User dashboard, Auth, Ready Components, Stats, Blog, Docs and more.

SaaSykit: Laravel SaaS Starter Kit
Bacancy logo

Bacancy

Supercharge your project with a seasoned Laravel developer with 4-6 years of experience for just $3200/month. Get 160 hours of dedicated expertise & a risk-free 15-day trial. Schedule a call now!

Bacancy
Cut PHP Code Review Time & Bugs into Half with CodeRabbit logo

Cut PHP Code Review Time & Bugs into Half with CodeRabbit

CodeRabbit is an AI-powered code review tool that specializes in PHP and Laravel, running PHPStan and offering automated PR analysis, security checks, and custom review features while remaining free for open-source projects.

Cut PHP Code Review Time & Bugs into Half with CodeRabbit