Spork
Whoops
Spork | Whoops | |
---|---|---|
- | 6 | |
588 | 13,128 | |
- | - | |
0.0 | 4.6 | |
about 8 years ago | 6 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.
Spork
We haven't tracked posts mentioning Spork yet.
Tracking mentions began in Dec 2020.
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?
PHP Expression - PHP Expression Language
laravel-ignition - A beautiful error page for Laravel apps
Prooph Service Bus - PHP Lightweight Message Bus supporting CQRS.
PHP-GPIO - A PHP library to play with the Raspberry PI's GPIO pins
Knapsack - Collection pipeline library for PHP
Hprose-PHP - Hprose is a cross-language RPC. This project is Hprose 3.0 for PHP
LadyBug - PHP 5.3+ Extensible Dumper
Jumper - PHP remote closure executor
Country List - :globe_with_meridians: List of all countries with names and ISO 3166-1 codes in all languages and data formats.
PHPVerbalExpressions - PHP Regular expressions made easy
html2text - A PHP component to convert HTML into a plain text format