PHP code example of mihaeu / tarantula
1. Go to this page and download the library: Download mihaeu/tarantula 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/ */
mihaeu / tarantula example snippets
use Mihaeu\Tarantula\Crawler;
use Mihaeu\Tarantula\HttpClient;
$crawler = new Crawler(new HttpClient('http://google.com'));
$links = $crawler->go(1);
bash
composer global