collision
backtrace
Our great sponsors
collision | backtrace | |
---|---|---|
4 | 1 | |
4,429 | 315 | |
- | 3.8% | |
7.8 | 5.4 | |
2 days ago | 4 days ago | |
PHP | PHP | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
collision
-
I created a PHPUnit 10 extension to prettify CLI output
I really like how Pest PHP formats and outputs test results, but I still prefer to use PHPUnit. Luckily there's Collision. This package is designed to give you beautiful error reporting when interacting with your app through the command line.
-
what are you using to make phpunit output pretty?
I like collision https://github.com/nunomaduro/collision it is the output formatter wich the Pest Testing Framework is also using, I'm using it without Pest.
-
PHPUnit, do i need to learn it?
It was as I know just released 2 years ago. And as I know Nuno already works on PestPHP 2.0. It is also build on top of PHPUnit which means you can run all PHPUnit tests also with PestPHP runner. It is mostly be used in Laravel ecosystem as the maintainer is a maintainer of Laravel, I personally did not yet give it a try as I'm more in the Symfony world, but I use mostly the same PHPUnit Printer called Collision which make the PHPUnit a bit nicer :).
-
Announcing x-ray
I also felt from the beginning that the code snippets should be syntax highlighted in the console output. After a decent attempt at creating basic syntax highlighting, I again went with the tried-and-true method of extracting existing code from a project. In this case, the original source code came from nunomaduro/collision. Again, with some modifications, it suited my needs perfectly.
backtrace
-
Announcing x-ray
When first creating x-ray, I felt it was necessary to display an excerpt of the source code location where the call to ray() was found. Rather than roll my own solution, I extracted the excellent Snippet class from spatie/backtrace into a package. From there it was a simple matter of adding functionality for multi-line line selections and a few other minor changes. You can view the final permafrost-dev/code-snippets package and its documentation on Github.
What are some alternatives?
awesome-copycats - Awesome WM themes
ray - Debug with Ray to fix problems faster
termwind - 🍃 In short, it's like Tailwind CSS, but for the PHP command-line applications.
Laravel - Laravel is a web application framework with expressive, elegant syntax. We’ve already laid the foundation for your next big idea — freeing you to create without sweating the small things.
wordpress-ray - Debug with Ray to fix problems faster in WordPress apps
PHPUnit - The PHP Unit Testing framework.
x-ray - Scan source code for calls to ray() and related calls.
phpunit-pretty-print - Better PHPUnit CLI output with Collision
clockwork - Clockwork - php dev tools in your browser - server-side component
tlint - Tighten linter for Laravel conventions.
code-snippets - Easily create and work with code snippets from PHP