Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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)
- Host: GitHub
- URL: https://github.com/lablnet/whoops
- Owner: lablnet
- License: mit
- Created: 2019-02-11T12:48:38.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-05-13T11:09:15.000Z (over 3 years ago)
- Last Synced: 2024-04-19T10:40:26.626Z (9 months ago)
- Topics: whoops
- Language: PHP
- Homepage:
- Size: 115 KB
- Stars: 5
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.