richbarrett / parcelforce-tracking-scraper
Scrapes Parcelforce tracking events from their website because they do not provide an official tracking API
Installs: 39
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 4
Forks: 1
Open Issues: 1
pkg:composer/richbarrett/parcelforce-tracking-scraper
Requires
- php: >=5.6.0
This package is not auto-updated.
Last update: 2025-10-12 10:18:22 UTC
README
This scrapes Parcelforce tracking events from their website because they do not provide an official tracking API.
Installation
composer require richbarrett/parcelforce-tracking-scraper
Usage
include_once('vendor/autoload.php'); try { $trackingNumber = 'AB1234567'; $scraper = new \richbarrett\ParcelforceTrackingScraper\ParcelforceTrackingScraper($trackingNumber); $events = $scraper->getEvents(); print_r($events); } catch(Exception $e) { die('Error: '.$e->getMessage()); }
Health Warning
Obviously Parcelforce could change their tracking webpage at any time resulting in this breaking, so bear that in mind if you use it in your application.