| Package Data | |
|---|---|
| Maintainer Username: | Danny-mcc |
| Maintainer Contact: | dan@rocketone.co.uk (danny-mcc) |
| Package Create Date: | 2017-06-06 |
| Package Last Update: | 2017-06-06 |
| Home Page: | |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-11-04 15:05:20 |
| Package Statistics | |
|---|---|
| Total Downloads: | 25 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 0 |
| Total Watchers: | 1 |
| Total Forks: | 0 |
| Total Open Issues: | 0 |
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.