https://github.com/sorexalpinus/watchtower
Slim error & exception handler for PHP 7+
https://github.com/sorexalpinus/watchtower
error-handling exception-handler exception-handling php7 watchtower whoops
Last synced: 3 months ago
JSON representation
Slim error & exception handler for PHP 7+
- Host: GitHub
- URL: https://github.com/sorexalpinus/watchtower
- Owner: sorexalpinus
- License: mit
- Created: 2019-11-16T23:55:23.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-06T19:03:52.000Z (over 6 years ago)
- Last Synced: 2025-11-27T16:31:46.091Z (6 months ago)
- Topics: error-handling, exception-handler, exception-handling, php7, watchtower, whoops
- Language: PHP
- Homepage:
- Size: 138 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WatchTower
Slim error & exception handler for PHP 7+
## Installation
Install the latest version with
```bash
$ composer require sorexalpinus/watchtower
```
## Basic Usage
```php
watchFor(E_WARNING | E_NOTICE)
->thenCreate(WhoopsMinibox::create())
->andSendTo(Browser::create());
$wt->watch();
```
## Author
Juraj Hlatky (sorexalpinus)
## License
WatchTower is licensed under the MIT License - see the LICENSE file for details
## Special thanks
This library uses modified Whoops (filp/whoops) package