Download the PHP package gedex/janrain-api without Composer
On this page you can find all versions of the php package gedex/janrain-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package janrain-api
PHP Janrain API
A simple Object Oriented wrapper for Janrain API, written with PHP5.
Usage
Find Entity
require_once 'vendor/autoload.php';
$client = new Janrain\Client();
$client->setOption('base_url', 'https://example.janraincapture.com');
$client->setOption('client_id', 'xxx');
$client->setOption('client_secret', 'xxx');
$entities = $client->api('entity')->find(array(
'type_name' => 'user',
'filter' => 'emailVerified is not null',
'attributes' => array('uuid', 'displayName', 'email'),
));
Add Entity
$result = $client->api('entity')->create(array(
'type_name' => 'user',
'attributes' => array(
'firstName' => 'Akeda',
'lastName' => 'Bagus',
),
));
See examples for complete references.
TODO
- Complete unit tests coverage
- More examples
Credits
- Janrain API documentation
- Nicely architectured library php-github-api by KNPLabs where this library borrows the design.
License
MIT License - see LICENSE file.
All versions of janrain-api with dependencies
PHP Build Version
Package Version
The package gedex/janrain-api contains the following files
Loading the files please wait ....