PHP code example of codenco-dev / url-redirector
1. Go to this page and download the library: Download codenco-dev/url-redirector 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/ */
codenco-dev / url-redirector example snippets
return [
];
$url-redirector = new CodencoDev\UrlRedirector();
echo $url-redirector->echoPhrase('Hello, Spatie!');
bash
php artisan vendor:publish --provider="CodencoDev\UrlRedirector\UrlRedirectorServiceProvider" --tag="url-redirector-migrations"
php artisan migrate
bash
php artisan vendor:publish --provider="CodencoDev\UrlRedirector\UrlRedirectorServiceProvider" --tag="url-redirector-config"