PHP code example of infusionweb / laravel-robots-route

1. Go to this page and download the library: Download infusionweb/laravel-robots-route 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/ */

    

infusionweb / laravel-robots-route example snippets


'providers' => [
    //
    InfusionWeb\Laravel\Robots\RobotsServiceProvider::class,
];

return [
    'allow' => env('ROBOTS_ALLOW', true),
];
bash
$ php artisan vendor:publish --provider="InfusionWeb\Laravel\Robots\RobotsServiceProvider"