dmyers/laravel-moved

A simple URL rewriter package for Laravel 5.

v2.0.2 2016-10-19 18:32 UTC

README

Moved is a URL rewriter for Laravel 5 applications.

Installation via Composer

Add this to you composer.json file, in the require object:

"dmyers/laravel-moved": "dev-master"

After that, run composer install to install Moved.

Add the service provider to app/config/app.php, within the providers array.

'providers' => [
    // ...
    'Dmyers\Moved\MovedServiceProvider',
]

Laravel 4

Use the 1.0 branch or the v1.* tags for Laravel 4 support.

Configuration

Publish the default config file to your application so you can make modifications.

$ php artisan vendor:publish

Usage

Add URLs to the config that should be redirected to your new routes that have moved.