---
Collision 由 **[Nuno Maduro](https://github.com/nunomaduro)** 创建并维护,是一个用于通过命令行与应用程序交互时提供美观错误报告的包。
* 它包含在全球最受欢迎的免费、开源 PHP 框架 **[Laravel](https://laravel.com)** 中。
* 基于 **[Whoops](https://github.com/filp/whoops)** 错误处理器构建。
* 支持 [Laravel](https://github.com/laravel/laravel)、[Symfony](https://symfony.com)、[PHPUnit](https://github.com/sebastianbergmann/phpunit) 以及许多其他框架。
安装与使用
需要 PHP 8.2+
要求使用 Composer 进行碰撞:
bash
composer require nunomaduro/collision --dev
版本兼容性
| Laravel |
Collision |
PHPUnit |
Pest |
| 6.x |
3.x |
|
|
| 7.x |
4.x |
|
|
| 8.x |
5.x |
|
|
| 9.x、10.x |
6.x |
|
|