dannymcc/laravel-redirection is a Laravel package for redirect pages..
It currently has 0 GitHub stars and 27 downloads on Packagist (latest version 1.0.0).
Install it with composer require dannymcc/laravel-redirection.
Discover more Laravel packages by dannymcc
or browse all Laravel packages to compare alternatives.
Last updated
A package for handling redirects via a database.
You can install the package via composer:
composer require dannymcc/laravel-redirection
Next add the service provider to config/app.php:
// config/app.php
'providers' => [
...
Dannymcc\Redirection\RedirectionServiceProvider::class,
];
Optional, publish the config file:
php artisan vendor:publish --provider="Dannymcc\LaravelRedirection\RedirectionServiceProvider"
Redirect::create([
'from_url' => '/from-here',
'to_url' => '/to-here,
'status_code' => 302
]);
The MIT License (MIT). Please see License File for more information.