Looking to hire Laravel developers? Try LaraJobs

redireccio-laravel maintained by omatech

Last update
2019/07/10 12:37 (dev-master)
Links
Downloads
89

Comments
comments powered by Disqus

RedireccIO

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);