PHP code example of sergeypechenyuk / laravel-redirect
1. Go to this page and download the library: Download sergeypechenyuk/laravel-redirect library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
sergeypechenyuk / laravel-redirect example snippets
PSV\Widgets\WidgetServiceProvider::class,
php artisan vendor:publish --provider="PSV\Widgets\WidgetServiceProvider"
php artisan redirect:create "hello" "hello-world-2" "302"
php artisan redirect:update "hello" "hello-world" "302" "2019-12-31 23:59:59"
php artisan redirect:remove "hello"
php artisan redirect:list