laravel-ignition
Whoops
Our great sponsors
laravel-ignition | Whoops | |
---|---|---|
2 | 6 | |
405 | 13,122 | |
4.2% | - | |
8.0 | 4.6 | |
16 days ago | 5 months 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.
laravel-ignition
-
I hate PHP development
Check out spatie/laravel-ignition (if using Laravel) or filp/whoops
-
spatie/ignition is now framework agnostic and can be used as your local error handler in any PHP project
I haven't worked on this myself, but several of my colleagues did. Ignition has been the default error handler in Laravel for a while now, and the newest release now allows any PHP to use it. All Laravel-specific features are separated in spatie/laravel-ignition now.
Whoops
-
Weekly help thread
To get the full control of the error output (or, rather, of the error message handling) I would suggest to use an exception handling function, set_exception_handler() I've got an example in my article on PHP error reporting. There, instead of just spitting out the raw exception, you can use the Exception class methods to get the relevant parts and either log or echo them out, depends on the server role. Or you can even include a library like Whoops that dramatically improves the output.
- error: there's a bug in your code
-
I hate PHP development
Check out spatie/laravel-ignition (if using Laravel) or filp/whoops
-
spatie/ignition is now framework agnostic and can be used as your local error handler in any PHP project
I've been using whoops but it's a bit stale (not even 7.x or 8.x native, just compatible with those but still very much 5.x code). Might have to explore ignition.
-
Does anyone know of a Go library that provides "helpful" error pages for web apps?
To give an example of what I am looking for, there is this library for PHPT: http://filp.github.io/whoops/
-
Computer crash with a debug console in a Danish public bus.
You're correct about it being a faulty webpage, but that's now what any browsers devtools look like. What you're seeing here is a whoops error page from an older version of Laravel.
What are some alternatives?
sneaker - An easy way to send emails whenever an exception occurs on server.
PHP-GPIO - A PHP library to play with the Raspberry PI's GPIO pins
ignition - A beautiful error page for PHP apps
Hprose-PHP - Hprose is a cross-language RPC. This project is Hprose 3.0 for PHP
Psalm - A static analysis tool for finding errors in PHP applications
Jumper - PHP remote closure executor
ray - Debug with Ray to fix problems faster
PHPVerbalExpressions - PHP Regular expressions made easy
Tracy - 😎 Tracy: the addictive tool to ease debugging PHP code for cool developers. Friendly design, logging, profiler, advanced features like debugging AJAX calls or CLI support. You will love it.
html2text - A PHP component to convert HTML into a plain text format
Pagerfanta - Pagination library for PHP applications with support for several data providers
Token Bucket - Implementation of the Token Bucket algorithm in PHP.