filp/whoops
's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.Name | Version | Size | License | Type | Vulnerabilities |
---|---|---|---|---|---|
psr/log | 3.0.0 | 6.77 kB | MIT | prod |
The "filp/whoops" package is an effective error handling framework for PHP, aimed at making the process of debugging web projects more efficient and user-friendly. The robust system is stacked with flexible error handling capabilities, offering a simple API, a standout error page for web applications, and a range of response format handlers. In essence, it is a standalone library that adds a 'cool' element to PHP error handling, perfect for the modern PHP developer.
Utilizing the "filp/whoops" package in your PHP development work is straightforward. First, ensure that you have Composer installed in your project. Then, proceed to install the "filp/whoops" package via Composer with the command composer require filp/whoops
. In your PHP code, register the pretty handler as follows:
$whoops = new \Whoops\Run;
$whoops->pushHandler(new \Whoops\Handler\PrettyPageHandler);
$whoops->register();
There are other usage options and ways to integrate "filp/whoops" presented in the example files within the package.
The "filp/whoops" library defines its documentation within its GitHub repository. Visit API Documentation for modifier information. The repository hosts an assortment of informative docs that guide you on various features and uses of the package. These resources ensure you are well-equipped to make the most out of "filp/whoops" for your PHP error handling.