dev-master
9999999-dev https://github.com/seliton/seliton-php-clientPHP Client for Seliton REST API
MIT
The Development Requires
api client seliton
Wallogit.com
2017 © Pedro Peláez
PHP Client for Seliton REST API
PHP 5.3 and later., (*1)
Download latest version., (*2)
Include the init.php file:, (*3)
require_once('/path/to/seliton-php-client/init.php');
Simple usage looks like:, (*4)
require_once '/path/to/seliton-php-client/init.php';
use Seliton\Client\Seliton;
$seliton = new Seliton('http://dev-1.myseliton.com/api/v1/');
$page = $seliton->page()->create();
print_r($page);
Please see http://dev.seliton.com/api/docs/ for up-to-date documentation., (*5)
Install dependencies:, (*6)
``` bash composer install, (*7)
## Tests Install dependencies as mentioned above (which will resolve [PHPUnit](http://packagist.org/packages/phpunit/phpunit)), then you can run the test suite: ```bash ./vendor/bin/phpunit
Or to run an individual test file:, (*8)
./vendor/bin/phpunit tests/PageTestCase.php
PHP Client for Seliton REST API
MIT
api client seliton