This document will help you upgrading PHPScraper from one version to a new one.
-
The namespace has been adjusted from
\spekulatius
to\Spekulatius\PHPScraper
. Anyuse
statements or other class references need to updated accordingly:-use spekulatius\phpscraper; +use Spekulatius\PHPScraper\PHPScraper;
or
-$web = new \spekulatius\phpscraper; +$web = new \Spekulatius\PHPScraper\PHPScraper;