Slim error & exception handler for PHP 7+
Install the latest version with
$ composer require sorexalpinus/watchtower
<?php
use WatchTower\WatchTower;
use WatchTower\Handlers\WhoopsMinibox;
use WatchTower\Outputs\Browser;
$wt = WatchTower::getInstance();
$wt->watchFor(E_WARNING | E_NOTICE)
->thenCreate(WhoopsMinibox::create())
->andSendTo(Browser::create());
$wt->watch();
Juraj Hlatky (sorexalpinus)
WatchTower is licensed under the MIT License - see the LICENSE file for details
This library uses modified Whoops (filp/whoops) package