A simple module for managing your redirects. Can be useful on sites that are migrating from legacy routes or just have a CMS that needs to manage the redirects.
- Install the package
composer require ntpages/laravel-redirector
- Register service provider
Ntpages\LaravelRedirector\Provider::class
in theconfig/app.php
- Run the migrations
php artisan migrate
- Publish package files
php artisan vendor:publish
- Use the middleware, official laravel docs about that.
Ntpages\LaravelRedirector\RedirectMiddleware::class
todo