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

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+

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