2017 © Pedro Peláez
 

library argo

A shipping utility.

image

dsposito/argo

A shipping utility.

  • Friday, April 14, 2017
  • by dsposito
  • Repository
  • 4 Watchers
  • 7 Stars
  • 19,155 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 4 Open issues
  • 4 Versions
  • 16 % Grown

The README.md

Argo

Build Status Coverage Status Latest Stable Version, (*1)

Overview

Argo is a useful utility for shipping-related tasks. In particular, it deduces the shipping carrier, provider and other information based on a provided package tracking number., (*2)

In Greek mythology, Argo (in Greek, meaning 'swift') was the ship on which Jason and the Argonauts sailed from Iolcos to retrieve the Golden Fleece. Argo was said to have been planned with the help of Athena - constructed with magical pieces of timber from the sacred forest of Dodona., (*3)

Installation

Run the following composer command to add the package to your project:, (*4)

composer require dsposito/argo

Alternatively, add "dsposito/argo": "^2.0" to your composer.json file., (*5)

Usage

Simply provide a tracking number when initializing a new package instance., (*6)

$package = Argo\Package::instance('420 90401 9405 5108 9841 6000 5592 67');

print_r($package);

Example output:, (*7)

Argo\Package Object
(
    [tracking_code_original] => 420 90401 9405 5108 9841 6000 5592 67
    [tracking_code] => 9405510898416000559267
    [carrier] => Argo\Carrier Object
        (
            [code] => usps
            [name] => USPS
        )
    [provider] => Argo\Provider Object
        (
            [code] => endicia
            [name] => Endicia
        )
)

Tests

To run the test suite, run the following commands from the root directory:, (*8)

composer install
vendor/bin/phpunit

The Versions

14/04 2017

dev-master

9999999-dev https://github.com/dsposito/argo

A shipping utility.

  Sources   Download

MIT

The Requires

  • php ^7.0

 

The Development Requires

php shipping tracking number argo

14/04 2017

v2.0.0

2.0.0.0 https://github.com/dsposito/argo

A shipping utility.

  Sources   Download

MIT

The Requires

  • php ^7.0

 

The Development Requires

php shipping tracking number argo

02/03 2015

v1.1.0

1.1.0.0 https://github.com/dsposito/argo

A shipping utility.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

php shipping tracking number argo

27/02 2015

v1.0.0

1.0.0.0 https://github.com/dsposito/argo

A shipping utility.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

php shipping tracking number argo