Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 490 Bytes

UPGRADING.md

File metadata and controls

19 lines (13 loc) · 490 Bytes

Upgrading PHPScraper

This document will help you upgrading PHPScraper from one version to a new one.

From 0.x to 1.x

  • The namespace has been adjusted from \spekulatius to \Spekulatius\PHPScraper. Any use 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;