nunomaduro / collision
Cli error handling for console/command-line PHP applications.
Fund package maintenance!
nunomaduro
Patreon
www.paypal.com/paypalme/enunomaduro
Installs: 86 795 246
Dependents: 2 359
Suggesters: 4
Security: 0
Stars: 4 068
Watchers: 28
Forks: 123
Open Issues: 8
Requires
- php: ^8.0.0
- facade/ignition-contracts: ^1.0.2
- filp/whoops: ^2.14.5
- symfony/console: ^6.0.2
Requires (Dev)
- brianium/paratest: ^6.4.1
- laravel/framework: ^9.7
- nunomaduro/larastan: ^1.0.2
- nunomaduro/mock-final-classes: ^1.1.0
- orchestra/testbench: ^7.3.0
- phpunit/phpunit: ^9.5.11
- dev-stable
- v6.2.0
- v6.1.0
- v6.0.0
- v5.x-dev
- v5.11.0
- v5.10.0
- v5.9.0
- v5.8.0
- v5.7.0
- v5.6.0
- v5.5.0
- v5.4.0
- v5.3.0
- v5.2.0
- v5.1.0
- v5.0.2
- v5.0.1
- v5.0.0
- v5.0.0-BETA5
- v5.0.0-BETA4
- v5.0.0-BETA3
- v5.0.0-BETA2
- v5.0.0-BETA1
- v4.x-dev
- v4.3.0
- v4.2.0
- v4.1.3
- v4.1.2
- v4.1.1
- v4.1.0
- v4.0.1
- v4.0.0
- v3.x-dev
- v3.2.0
- v3.1.0
- v3.0.1
- v3.0.0
- v2.1.1
- v2.1.0
- v2.0.3
- v2.0.2
- v2.0.1
- v2.0.0
- v1.1.22
- v1.1.21
- v1.1.20
- v1.1.19
- v1.1.18
- v1.1.17
- v1.1.16
- v1.1.15
- v1.1.14
- v1.1.13
- v1.1.12
- v1.1.11
- v1.1.10
- v1.1.9
- v1.1.8
- v1.1.7
- v1.1.6
- v1.1.5
- v1.1.4
- v1.1.3
- v1.1.2
- v1.1.1
- v1.1.0
- v1.0.4
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- v0.1.0
- dev-better_validation_exception
- dev-repeat-support
This package is auto-updated.
Last update: 2022-05-05 15:43:35 UTC
README
Collision was created by, and is maintained by Nuno Maduro, and is a package designed to give you beautiful error reporting when interacting with your app through the command line.
- It's included on Laravel, the most popular free, open-source PHP framework in the world.
- Built on top of the Whoops error handler.
- Supports Laravel, Symfony, PHPUnit, and many other frameworks.
Installation & Usage
Requires PHP 8.0+
Require Collision using Composer:
composer require nunomaduro/collision --dev
Laravel Version Compatibility
Laravel | Collision |
---|---|
6.x | 3.x |
7.x | 4.x |
8.x | 5.x |
9.x | 6.x |
As an example, here is how to require Collision on Laravel 6.x:
composer require nunomaduro/collision:^3.0 --dev
Phpunit adapter
Phpunit must be 9.0 or higher.
Add the Collision printerClass
to your phpunit.xml
in the phpunit
section:
<phpunit printerClass="NunoMaduro\Collision\Adapters\Phpunit\Printer">
No adapter
You need to register the handler in your code:
(new \NunoMaduro\Collision\Provider)->register();
Contributing
Thank you for considering to contribute to Collision. All the contribution guidelines are mentioned here.
You can have a look at the CHANGELOG for constant updates & detailed information about the changes. You can also follow the twitter account for latest announcements or just come say hi!: @enunomaduro
License
Collision is an open-sourced software licensed under the MIT license.
Logo by Caneco.