anmartini / poste-track
Track Poste Italiane shipments
v2.0.0
2023-11-17 17:17 UTC
Requires
- php: ^8.1
- guzzlehttp/guzzle: ^7.0
- illuminate/contracts: ^10.0
- spatie/laravel-package-tools: ^1.14.0
Requires (Dev)
- laravel/pint: ^1.0
- nunomaduro/collision: ^7.8
- nunomaduro/larastan: ^2.0.1
- orchestra/testbench: ^8.8
- pestphp/pest: ^2.20
- pestphp/pest-plugin-arch: ^2.0
- pestphp/pest-plugin-laravel: ^2.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- spatie/laravel-ray: ^1.26
README
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.