PHP code example of nelexa / roach-php-bundle

1. Go to this page and download the library: Download nelexa/roach-php-bundle 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/ */

    

nelexa / roach-php-bundle example snippets


return [
    //...
    \Nelexa\RoachPhpBundle\RoachPhpBundle::class => ['all' => true],
];
bash
composer 
bash
php bin/console roach:php google --concurrency 8 --delay 2
bash
php bin/console roach:shell "https://roach-php.dev/docs/introduction"
bash
php bin/console make:roach:spider
bash
php bin/console make:roach:extension
bash
php bin/console make:roach:middleware:downloader:request
bash
php bin/console make:roach:middleware:downloader:response
bash
php bin/console make:roach:middleware:spider:request
bash
php bin/console make:roach:middleware:spider:response