PHP code example of alucas / iim-td3

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

    

alucas / iim-td3 example snippets



use Alucas\td3\Scrapper;

// Initialize the scrapper
$scrapper = new Scrapper();

// get all characters (pagination, 60 per array)
$clones = $scrapper->getAllcharacters();


Class Clone :
    - name: string
    - description: string
    - imageLink: string

bash
php vendor/bin/phpstan analyse src --level=max
bash
php vendor/bin/php-cs-fixer fix src --rules=@PSR12
bash
php vendor/bin/phpunit tests