PHP code example of vis / redirectmap

1. Go to this page and download the library: Download vis/redirectmap 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/ */

    

vis / redirectmap example snippets


"    "vis/redirectmap": "0.*"
}

    'providers' => [
        ...
        Litvin\Redirectmap\ServiceProvider::class,
    ]

'menu' => array(
    ...
   array(
        'title' => 'Переадресация',
        'link'  => '/redirect_map',
        'check' => function() {return true;}
        )
    ...
)
sh
$ php artisan migrate