Download the PHP package isurindu/rest-api-client without Composer
On this page you can find all versions of the php package isurindu/rest-api-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download isurindu/rest-api-client
More information about isurindu/rest-api-client
Files in isurindu/rest-api-client
Package rest-api-client
Short Description Wrapper for SMSGlobal's REST API v2
License MIT
Homepage http://www.smsglobal.com/
Informations about the package rest-api-client
REST API v2 . More information at https://hs.smsglobal.com/services-update
SMSGlobal Class Library for PHP
This is a wrapper for the SMSGlobal REST API. Get an API key from SMSGlobal by signing up and viewing the API key page in the MXT platform.
View the REST API documentation for a list of available resources.
Quick Start
This wrapper is requires PHP 5.3 or greater, and either the cURL library or the HTTP stream wrapper to be installed and enabled.
To install, add the dependency to your composer.json
file:
And install with Composer.
Not using Composer?
You can install the library by downloading it from Github. Just use a PSR-0 compliant autoloader to load in the classes.
To run unit tests or generate documentation, you'll need PHPUnit and phpDocumentor.
Running Unit Tests
Get documentation
Documentation is available on the SMSGlobal website, or you can generate it yourself:
Using the library
Running Unit Tests
Notes
- Requesting the same object twice in one session will return the same instance (even in the resource lists)
- Exceptions are thrown if you attempt to save an object with invalid data