This package incorporates the DHL Parcel API client into your Laravel project.
You can install the package via composer:
composer require mvdnbrk/laravel-dhlparcel
All you need to do is add your credentials to the .env
file:
DHLPARCEL_ID=YOUR-USER-ID
DHLPARCEL_SECRET=YOUR-SECRET-KEY
use Mvdnbrk\Laravel\Facades\DhlParcel;
$shipment = DhlParcel::shipments()->create([
...
]);
For your convenience this package provides a global dhlparcel()
helper function.
dhlparcel()->shipments()->create([
...
]);
composer test
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.