Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lablnet/whoops

[READ ONLY] Subtree split of the Zest Whoop component (see https://github.com/zestframework/Zest_Framework)
https://github.com/lablnet/whoops

whoops

Last synced: about 1 month ago
JSON representation

[READ ONLY] Subtree split of the Zest Whoop component (see https://github.com/zestframework/Zest_Framework)

Awesome Lists containing this project

README

        

# Whoops
[READ ONLY] Subtree split of the Zest Whoop component (see https://github.com/zestframework/Zest_Framework)

## usage
Whoops is a PHP library for handling exceptions and errors.

## Requirement
- PHP
- Composer

## Features
- Flexible, stack-based error handling.
- Stand-alone library with (currently) no required dependencies.
- Highlight the error line with red color.
- Show preview code in browser.
- Clean, well-structured & tested code-base.
- Includes the ability to [open referenced files directly in your editor and IDE](#open-files-in-an-editor)

## Insallation
Installing this package is very simple, first ensure you have the right PHP version and composer installed then in your terminal/(command prompt) run:
```composer require zest/whoops```

Register the handler in your code
```php
setEditor('sublime');
//Rest of code....
```
The following editors are currently supported by default.

- ``sublime`` Sublime editor

Append your own/custom editor
```php
appendEditor("myeditor" , "myeditor://open?url=file://::file&line=::line",)
```
## TODO

- [x] Bootstrap 4 ready.
- [x] Includes the ability to open referenced files directly in your editor and IDE]
- [ ] Should add more IDE\Editor support.
- [ ] Add new feature to show Enviroment details.