This class display the tracking, zip code and send tracking sms from the post office
composer require wander4747/correios-crawler
require __DIR__ . '/vendor/autoload.php';
use Correios\Tracking;
use Correios\Zip;
use Correios\Sms;
//parameter: tracking code
$tracking = new Tracking('PW950125025BR');
echo $tracking->find();
//parameter: address or zip
$zip = new Zip('Avenida Paulista');
echo $zip->find();
//parameter: tracking code, cell sender, recipient cell
$sms = new Sms('PW950125025BR','(31) 99332-6095', '(31) 99332-6096');
$sms->send();
The Sms
class should be tested and monitor if it is working properly.
Any problem send an email to wander.douglas14@gmail.com or open an issue 😃