avido / laravel-myparcel

MyParcel API client for Laravel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MyParcel API client for Laravel

Latest Version on Packagist Software License Build Status Coverage Status Quality Score StyleCI Total Downloads

This package incorporates the MyParcel API client into your Laravel project.

Installation

You can install the package via composer:

composer require mvdnbrk/laravel-myparcel

Configuration

All you need to do is add your MyParcel API key to the .env file:

MYPARCEL_API_KEY=YOUR-API-KEY

Usage

use Mvdnbrk\Laravel\Facades\MyParcel;

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

Global helper method

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

myparcel()->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.

About

MyParcel API client for Laravel

License:MIT License


Languages

Language:PHP 100.0%