mvdnbrk/laravel-dhlparcel

DHL Parcel API client for Laravel
17,391 18
Install
composer require mvdnbrk/laravel-dhlparcel
Latest Version:v1.4.0
PHP:^7.2 || ^8.0
License:MIT
Last Updated:Dec 18, 2020
Links: GitHub  ·  Packagist
Maintainer: mvdnbrk

DHL Parcel API client for Laravel

Latest Version on Packagist Software License Tests StyleCI Total Downloads

This package incorporates the DHL Parcel API client into your Laravel project.

Installation

You can install the package via composer:

composer require mvdnbrk/laravel-dhlparcel

Configuration

All you need to do is add your credentials to the .env file:

DHLPARCEL_ID=YOUR-USER-ID
DHLPARCEL_SECRET=YOUR-SECRET-KEY

Usage

use Mvdnbrk\Laravel\Facades\DhlParcel;

$shipment = DhlParcel::shipments()->create([
   ...
]);

Global helper method

For your convenience this package provides a global dhlparcel() helper function.

dhlparcel()->shipments()->create([
   ...
]);

Testing

composer test

Changelog

Please see CHANGELOG for more information 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.

Related Packages

sauladam/shipment-tracker

Parses tracking information for several carriers, like UPS, USPS, DHL and GLS by...

48,561 96
cyvelnet/laravel5-fractal

A simple fractal service provider and transformer generator with model attribute...

190,011 79
pixelpeter/laravel5-woocommerce-api-client

Laravel 5 wrapper for the Woocommerce REST API

106,676 123
kavenegar/laravel

laravel 4 and 5 kavenegar integration

368,693 86