This is where your description should go. Try and limit it to a paragraph or two. Consider adding a small example.
You can install the package via composer:
composer require dennisvandalen/shipment-url-parser-php
$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"
//}
- Handle unknown urls
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
- 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
The MIT License (MIT). Please see License File for more information.