This package incorporates the MyParcel API client into your Laravel project.
You can install the package via composer:
composer require mvdnbrk/laravel-myparcelAll you need to do is add your MyParcel API key to the .env file:
MYPARCEL_API_KEY=YOUR-API-KEY
use Mvdnbrk\Laravel\Facades\MyParcel;
$shipment = MyParcel::shipments()->create([
...
]);For your convenience this package provides a global myparcel() helper function.
myparcel()->shipments()->create([
...
]);composer testPlease 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.