html2text
Whoops
html2text | Whoops | |
---|---|---|
- | 6 | |
466 | 13,128 | |
- | - | |
0.0 | 4.6 | |
5 months ago | 6 months ago | |
HTML | 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.
html2text
We haven't tracked posts mentioning html2text 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?
Underscore
laravel-ignition - A beautiful error page for Laravel apps
PHP-GPIO - A PHP library to play with the Raspberry PI's GPIO pins
noCAPTCHA - :passport_control: Helper for Google's new noCAPTCHA (reCAPTCHA v2 & v3)
Hprose-PHP - Hprose is a cross-language RPC. This project is Hprose 3.0 for PHP
Flux - Fluent regular expressions in PHP
Jumper - PHP remote closure executor
SuperClosure - Serialize closures. Not maintained. Consider using opis/closure.
PHPVerbalExpressions - PHP Regular expressions made easy
Token Bucket - Implementation of the Token Bucket algorithm in PHP.
Pagerfanta - Pagination library for PHP applications with support for several data providers