Download the PHP package sudiptpa/transdirect without Composer
On this page you can find all versions of the php package sudiptpa/transdirect. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sudiptpa/transdirect
More information about sudiptpa/transdirect
Files in sudiptpa/transdirect
Package transdirect
Short Description A minimal implementation of Transdirect Public API v4
License MIT
Informations about the package transdirect
A minimal implementation of Transdirect API v4.
Transdirect is Australia wide delivering solutions for you, this package covers a minimal PHP implementation of the Transdirect REST API. It contains only the endpoints documented at http://docs.transdirectapiv4.apiary.io.
Installation
You can install the package via composer: Composer.
And run composer to update your dependencies:
$ curl -s http://getcomposer.org/installer | php
$ php composer.phar update
Usage
The first thing you need to do is get the API token from Transdirect, you will need to specify the requesting domain to get valid API response data.
Here are a few examples on how you can use the package:
Also have a look in the source code of Sujip\Transdirect\Transdirect
to discover the methods you can use. You will need to visit Official REST API documentation for the parameters to specify with each end point.
If you wish to make a direct call to API end point for your own custom implementation, you can use the $client->make('member', $parameters);
method.
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Contributions are welcome and will be fully credited.
Contributions can be made via a Pull Request on Github.
Testing
If you would like to look at the real time response comming from live or mock server with transdirect REST API endpoints browse http://docs.transdirectapiv4.apiary.io
Support
If you are having general issues with the package, feel free to drop me and email [email protected]
If you believe you have found a bug, please report it using the GitHub issue tracker, or better yet, fork the library and submit a pull request.