dennisvandalen/shipment-url-parser-php
最新稳定版本:v1.0.13
Composer 安装命令:
composer require dennisvandalen/shipment-url-parser-php
包简介
This is my package shipment-url-parser-php
README 文档
README
This is where your description should go. Try and limit it to a paragraph or two. Consider adding a small example.
Installation
You can install the package via composer:
composer require dennisvandalen/shipment-url-parser-php
Usage
$shipment = (new ShipmentUrlParser()) ->parse('https://dhlparcel.nl/en/private/receiving/follow-your-shipment?tt=TRACKING_CODE&pc=ZIPCODE'); //DennisVanDalen\ShipmentUrlParser\DTO\Shipment { // +url: "https://dhlparcel.nl/en/private/receiving/follow-your-shipment?tt=TRACKING_CODE&pc=ZIPCODE" // +trackingCode: "TRACKING_CODE" // +carrier: "DHL" // +carrierName: "DHL" //}
Todo
- Handle unknown urls
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
Create a new release
- Fix formatting with
composer format - Push changes to the main branch
- Update the changelog
- Create a new release on GitHub with GitHub CLI:
gh release create 1.0.5
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 1.39k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-12-19