amido/profile-service

PHP Library to access the Amido profile service

dev-master 2014-12-15 14:09 UTC

This package is not auto-updated.

Last update: 2024-04-09 06:59:31 UTC


README

This package is used in conjunction with the Amido profile service to persist and retrieve profiles.

Installation

Composer

Add this to your application's composer.json:

{
    "require": {
        "amido/profile-service": "*"
    }
}

And then execute:

    composer install

Usage

Create a new instance

use Amido\ProfileService;

$service = new ProfileService('subscription_key_here');

Then call the API via the following methods

$service->create_profile('realm_here', 'user_id_here', 'delegate_access_token_here', array('profile' => 'here));