Code Monkey home page Code Monkey logo

collision's Introduction


Collision logo
Collision code example

Build Status Quality Score Total Downloads Latest Stable Version License


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.1+

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 (PHPUnit 9.x or Pest v1.x)
9.x 7.x (PHPUnit 10.x or Pest v2.x)

As an example, here is how to require Collision on Laravel 8.x:

composer require nunomaduro/collision:^5.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.

collision's People

Contributors

abenerd avatar alecrabbit avatar alexander-schranz avatar alexmartinfr avatar dmirogin avatar freekmurze avatar fridzema avatar grahamcampbell avatar ianrodrigues avatar jkniest avatar joaorobertopb avatar jubeki avatar kitbs avatar krisell avatar kudashevs avatar lukeraymonddowning avatar mvdnbrk avatar nicolascarpi avatar nobuf avatar nunomaduro avatar owenvoke avatar paupenin avatar simonhamp avatar sjorso avatar synchro avatar taylorotwell avatar underdpt avatar villfa avatar wyox avatar yamadashy avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.