improoving_me / improoving-php
Improoving.me - PHP SDK Library
v1.4.1
2021-02-01 18:08 UTC
Requires
- php: >=7.1.0
- ext-json: ^1.6
- guzzlehttp/guzzle: ~6.0
Requires (Dev)
- phpunit/phpunit: ^8
README
You can sign up for an Improoving.me account at https://improoving.me.
Requirements
PHP 7.1.0 and later.
Composer
You can install the bindings via Composer. Run the following command:
composer require improoving_me/improoving-php
To use the bindings, use Composer's autoload:
require_once('vendor/autoload.php');
Dependencies
The bindings require the following extensions in order to work properly:
If you use Composer, these dependencies should be handled automatically. If you install manually, you'll want to make sure that these extensions are available.
Getting Started
Simple usage looks like:
# Initialize the School element
$school = new \Improoving\School(array('id' => 2));
# Authorize the user that is making the request
\Improoving\Improoving::setBearerToken($user_token);
# Request the Teachers
$teachers = $school->getTeachers();
echo $teachers;
Documentation
Please see https://test.improoving.me/docs/api for up-to-date documentation.