anmartini/poste-track

Track Poste Italiane shipments

v2.0.0 2023-11-17 17:17 UTC

README

Latest Version on Packagist GitHub Tests Action Status Total Downloads

Track Poste Italiane shipments

Disclaimer

This project has no affiliation with Poste Italiane S.p.A. and it is solely intended for personal use.

Installation

You can install the package via composer:

composer require anmartini/poste-track

You can publish the config file with:

php artisan vendor:publish --provider="Anmartini\PosteTrack\PosteTrackServiceProvider" --tag="config"

This is the contents of the published config file:

return [

    /*
    |--------------------------------------------------------------------------
    | Tries
    |--------------------------------------------------------------------------
    |
    | This value is the number of times the request will be retried
    | with a sleep time of 1 second between tries. This is needed
    | to pass the reCAPTCHA validation.
    |
    */

    'tries' => env('POSTE_TRACK_TRIES', 3),
];

Usage

$tracking = PosteTrack::track('CODE');

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.