omatech/redireccio-laravel

There is no license information available for the latest version (dev-master) of this package.

dev-master 2019-07-10 10:37 UTC

This package is auto-updated.

Last update: 2024-11-10 22:25:47 UTC


README

composer require omatech/redireccio-laravel

php artisan vendor:publish

select -> Provider: Omatech\RedireccIO\Laravel\RedireccIOServiceProvider

config/redireccio.php -> token

app/Exceptions/Handler.php en report()

if($exception instanceof NotFoundHttpException) {
    $url = request()->fullUrl();
    $method = request()->method();

    app()->make('RedireccIO')->intercept($url, $method);
}
parent::report($exception);