robbens / laravel-redirect
Installs: 1 017
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: >=7.4
Requires (Dev)
- laravel/framework: ^8.25
- orchestra/testbench: 6.25
- phpunit/phpunit: ^9.3.3
README
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.