A simple URL rewriter package for Laravel 4.

v1.0.0 2014-05-10 04:03 UTC


Rewrite is a URL rewriter for Laravel 4 applications.

Installation via Composer

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

"dmyers/laravel-rewrite": "1.*"

After that, run composer install to install Storage.

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

'providers' => array(
    // ...


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

$ php artisan config:publish dmyers/laravel-rewrite


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