anmartini / poste-track
追踪意大利邮政包裹
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
追踪意大利邮政包裹
免责声明
本项目与意大利邮政股份有限公司无任何关联,仅用于个人使用。
安装
您可以通过composer安装此包
composer require anmartini/poste-track
您可以使用以下命令发布配置文件
php artisan vendor:publish --provider="Anmartini\PosteTrack\PosteTrackServiceProvider" --tag="config"
这是发布配置文件的内容
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), ];
使用方法
$tracking = PosteTrack::track('CODE');
测试
composer test
变更日志
有关最近更改的更多信息,请参阅 变更日志
贡献
有关详细信息,请参阅 贡献指南
安全漏洞
有关如何报告安全漏洞,请参阅 我们的安全策略
鸣谢
许可证
MIT许可证(MIT)。有关更多信息,请参阅 许可证文件