PHP code example of marioungui / php-component-spider

1. Go to this page and download the library: Download marioungui/php-component-spider 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/ */

    

marioungui / php-component-spider example snippets


case 'new-component':
case 11:
    $component = "New Component";
    $filter = "//*[@class='new-component-class']";
    break;
bash
cd PHP-Component-Spider
bash
php -d phar.readonly=0 phar-creator.php