Download the PHP package silinternational/apiaxle-sdk-php without Composer
On this page you can find all versions of the php package silinternational/apiaxle-sdk-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download silinternational/apiaxle-sdk-php
More information about silinternational/apiaxle-sdk-php
Files in silinternational/apiaxle-sdk-php
Package apiaxle-sdk-php
Short Description PHP client for ApiAxle APIs
License MIT
Informations about the package apiaxle-sdk-php
apiaxle-sdk-php
This library provides coverage for the ApiAxle API. It was built using Guzzle and Guzzle Services for simplicity of development and maintenance.
Installation
Install using composer:
composer require silinternational/apiaxle-sdk-php:^1.0.0
Usage
Each resource has its own class:
- Api:
Apiaxle\Api
- Key:
Apiaxle\Key
- Keyring:
Apiaxle\Keyring
For each resource you instantiate the object by passing in a configuration array with at least the following parameters:
endpoint
: The Endpoint URL for your ApiAxle installationkey
: The API Key required for authenticating with the ApiAxle APIsecret
: The Shared Secret required for calculating an API signature
Example:
Creating an API:
Output:
License
MIT License
Copyright (c) 2016 SIL International
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
All versions of apiaxle-sdk-php with dependencies
guzzlehttp/guzzle Version ^7.4.5
guzzlehttp/guzzle-services Version ^0.6 || ^1.0
forevermatt/calc-api-sig Version ^0.1.1
roave/security-advisories Version dev-master