dmyers / laravel-moved by dmyers

A simple URL rewriter package for Laravel 5.
258
3
3
Package Data
Maintainer Username: dmyers
Maintainer Contact: arcticpro@gmail.com (Derek Myers)
Package Create Date: 2014-05-10
Package Last Update: 2019-12-27
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2024-11-23 03:16:45
Package Statistics
Total Downloads: 258
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 3
Total Watchers: 3
Total Forks: 0
Total Open Issues: 0

Moved Package for Laravel 5

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.