PHP code example of zahard-ltd / trustpilot-scraper
1. Go to this page and download the library: Download zahard-ltd/trustpilot-scraper 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/ */
zahard-ltd / trustpilot-scraper example snippets
use Zahard\Trustpilot\Scraper;
$scraper = new Scraper('www.amazon.com'); // this will scrape https://www.trustpilot.com/review/www.amazon.com