ntpages/laravel-redirector

This package is abandoned and no longer maintained. No replacement package was suggested.

Laravel package for redirecting pages

dev-master 2021-01-27 12:49 UTC

This package is auto-updated.

Last update: 2021-09-27 14:09:25 UTC


README

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.

First steps

  1. Install the package
    composer require ntpages/laravel-redirector
  2. Register service provider
    Ntpages\LaravelRedirector\Provider::class in the config/app.php
  3. Run the migrations
    php artisan migrate
  4. Publish package files
    php artisan vendor:publish
  5. Use the middleware, official laravel docs about that.
    Ntpages\LaravelRedirector\RedirectMiddleware::class

Usage

todo