2017 © Pedro Peláez
 

library royalmail-php

PHP module for interfacing with the Royal Mail shipping api : http://www.royalmail.com/corporate/services/shipping-api

image

turtledesign/royalmail-php

PHP module for interfacing with the Royal Mail shipping api : http://www.royalmail.com/corporate/services/shipping-api

  • Monday, July 30, 2018
  • by Turtle Design
  • Repository
  • 3 Watchers
  • 14 Stars
  • 175 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 8 Forks
  • 6 Open issues
  • 11 Versions
  • 6 % Grown

The README.md

Royal Mail API SDK for PHP

Build Status, (*1)

This repository contains a PHP SDK/Interface for the (UK) Royal Mail's Shipping API, (*2)

This is not an official SDK, we (http://www.turtledesign.com/) are a 3rd party integrator releasing the module with an open source licence because why not., (*3)

Prerequisites

  • PHP 5.4 or above (testing requires version 5.6 or above due to the Atoum test module requirements).
  • soap & openssl extensions must be enabled
  • fileinfo required for testing.

Installation

- Using Composer

composer is the recommended way to install the SDK. To use the SDK with project, add the following dependency to your application's composer.json and run composer update --no-dev to fetch the SDK., (*4)

You can download composer using instructions on Composer Official Website., (*5)

Prerequisites

Steps to Install :

Currently, the SDK is available at https://packagist.org. To use it in your project, you need to include it as a dependency in your project composer.json file. It can be done in two ways :, (*6)

  • Running composer require 'turtledesign/royalmail-php:*@dev' command on your project root location (where project composer.json is located.), (*7)

  • Or, manually editing composer.json file require field, and adding "turtledesign/royalmail-php" : "*@dev" inside it., (*8)

The resultant sample composer.json would look like this:, (*9)

{
  ...

  "name": "sample/website",
  "require": {
    "turtledesign/royalmail-php" : "*@dev"
  }

  ...
}

- Direct Download (without using Composer)

If you do not want to use composer, you can grab the SDK zip that contains Royal Mail API SDK with all its dependencies with it., (*10)

Steps to Install :

  • Download zip archive with desired version from our Releases. Each release will have a direct-download-*.zip that contains PHP Rest API SDK and its dependencies., (*11)

  • Unzip and copy vendor directory inside your project, e.g. project root directory., (*12)

  • If your application has a bootstrap/autoload file, you should add include '<vendor directory location>/vendor/autoload.php' in it. The location of the <vendor directory> should be replaced based on where you downloaded vendor directory in your application., (*13)

  • This autoload.php file registers a custom autoloader that can autoload the Royal Mail SDK files, that allows you to access PHP SDK system in your application., (*14)

More help

The Versions

30/07 2018

dev-master

9999999-dev

PHP module for interfacing with the Royal Mail shipping api : http://www.royalmail.com/corporate/services/shipping-api

  Sources   Download

MIT

The Requires

 

The Development Requires

by Stefan Nesbitt

shipping barcodes postage royal-mail post-office

30/07 2018

0.4.0.2

0.4.0.2

PHP module for interfacing with the Royal Mail shipping api : http://www.royalmail.com/corporate/services/shipping-api

  Sources   Download

MIT

The Requires

 

The Development Requires

by Stefan Nesbitt

shipping barcodes postage royal-mail post-office

30/06 2018

0.4.0.1

0.4.0.1

PHP module for interfacing with the Royal Mail shipping api : http://www.royalmail.com/corporate/services/shipping-api

  Sources   Download

MIT

The Requires

 

The Development Requires

by Stefan Nesbitt

shipping barcodes postage royal-mail post-office

16/03 2018

0.4.0.0

0.4.0.0

PHP module for interfacing with the Royal Mail shipping api : http://www.royalmail.com/corporate/services/shipping-api

  Sources   Download

MIT

The Requires

 

The Development Requires

by Stefan Nesbitt

shipping barcodes postage royal-mail post-office

14/03 2018

0.3.1.6

0.3.1.6

PHP module for interfacing with the Royal Mail shipping api : http://www.royalmail.com/corporate/services/shipping-api

  Sources   Download

MIT

The Requires

 

The Development Requires

by Stefan Nesbitt

shipping barcodes postage royal-mail post-office

09/03 2018

0.3.1.4

0.3.1.4

PHP module for interfacing with the Royal Mail shipping api : http://www.royalmail.com/corporate/services/shipping-api

  Sources   Download

MIT

The Requires

 

The Development Requires

by Stefan Nesbitt

shipping barcodes postage royal-mail post-office

09/03 2018

0.3.1.2

0.3.1.2

PHP module for interfacing with the Royal Mail shipping api : http://www.royalmail.com/corporate/services/shipping-api

  Sources   Download

MIT

The Requires

 

The Development Requires

by Stefan Nesbitt

shipping barcodes postage royal-mail post-office

19/10 2016

v0.3.0.0

0.3.0.0

PHP module for interfacing with the Royal Mail shipping api : http://www.royalmail.com/corporate/services/shipping-api

  Sources   Download

MIT

The Requires

 

The Development Requires

by Stefan Nesbitt

shipping barcodes postage royal-mail post-office

30/12 2015

v0.1.0.2

0.1.0.2

PHP module for interfacing with the Royal Mail shipping api : http://www.royalmail.com/corporate/services/shipping-api

  Sources   Download

MIT

The Requires

 

The Development Requires

by Stefan Nesbitt

shipping barcodes postage royal-mail post-office

11/10 2015

v0.1.0.1

0.1.0.1

PHP module for interfacing with the Royal Mail shipping api : http://www.royalmail.com/corporate/services/shipping-api

  Sources   Download

MIT

The Requires

 

The Development Requires

by Stefan Nesbitt

shipping barcodes postage royal-mail post-office

11/10 2015

v0.1.0.0

0.1.0.0

PHP module for interfacing with the Royal Mail shipping api : http://www.royalmail.com/corporate/services/shipping-api

  Sources   Download

MIT

The Requires

 

The Development Requires

by Stefan Nesbitt

shipping barcodes postage royal-mail post-office