robbens/laravel-redirect

0.6.1 2024-03-04 06:08 UTC

This package is auto-updated.

Last update: 2024-09-04 07:21:39 UTC


README

Latest Version on Packagist Build Status Quality Score Total Downloads

Create redirects with ease from ex. /about to /about-us.

Installation

Install the package via composer:

composer require robbens/laravel-redirect

Publish migrations

php artisan vendor:publish --provider="Robbens\LaravelRedirect\LaravelRedirectServiceProvider" --tag="migrations"

Run migrations

php artisan migrate

Usage

Robbens\LaravelRedirect\Models\Redirect::create([
    'from' => '/foo/bar',
    'to' => '/foo/baz',
]);

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email yo@robin.se instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.