2017 © Pedro Peláez
 

library laravel-aftership

An AfterShip API wrapper for Laravel

image

naxon/laravel-aftership

An AfterShip API wrapper for Laravel

  • Saturday, July 28, 2018
  • by Naxon
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Laravel AfterShip

GitHub release StyleCI Github All Releases, (*1)

This package provides an AfterShip PHP SDK wrapper for Laravel., (*2)

Installation

Install the package through composer:, (*3)

composer require naxon/laravel-aftership:^1.0.0

Then publish the config file:, (*4)

php artisan vendor:publish --provider="Naxon\AfterShip\AfterShipServiceProvider" --tag="config"

And finally, add your AfterShip API Key to your .env file:, (*5)

AFTERSHIP_API_KEY=xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

Usage

The four classes provided by the sdk are available as facades:, (*6)

<?php

use Naxon\AfterShip\Facades\Couriers;
use Naxon\AfterShip\Facades\LastCheckPoint;
use Naxon\AfterShip\Facades\Notifications;
use Naxon\AfterShip\Facades\Trackings;

$allTrackings = Trackings::all();
$allCouriers = Couriers::all();
$lastCheckPoint = LastCheckPoint::getById('123123');
$notification = Notifications::getById('123123');

For further usage information please read the documentation below., (*7)

Documentation

Available in the official sdk repository and the official documentation, (*8)

Testing

Coming soon..., (*9)

Credits

License

The MIT License (MIT). Please see License File for more information., (*10)

The Versions

28/07 2018

dev-master

9999999-dev https://github.com/Naxon/laravel-aftership

An AfterShip API wrapper for Laravel

  Sources   Download

MIT

The Requires

 

by Daniel Naxon

28/07 2018

dev-analysis-Xa15kY

dev-analysis-Xa15kY https://github.com/Naxon/laravel-aftership

An AfterShip API wrapper for Laravel

  Sources   Download

MIT

The Requires

 

by Daniel Naxon

28/07 2018

v1.0

1.0.0.0 https://github.com/Naxon/laravel-aftership

An AfterShip API wrapper for Laravel

  Sources   Download

MIT

The Requires

 

by Daniel Naxon