PHP wrappers for the Accredible certificate and badge platform.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Accredible Logo

Accredible API PHP SDK

Build Status


The Accredible platform enables organizations to create, manage and distribute digital credentials as digital certificates or open badges.

An example digital certificate and badge can be viewed here:

This Composer package wraps the Accredible API in PHP for easy integration into projects. The full REST API documentation can be found here:

Example Output

Example Digital Certificate

Example Open Badge


composer require accredible/acms-php-api dev-master


Add use ACMS\Api; to the class you'd like to use the API in.

use ACMS\Api;

// Instantiate the API instance replacing APIKey with your API key
$api = new Api("APIKey");

// Get a Credential

// Get an array of Credentials 
$api->get_credentials(null, "");

// Create a Credential - Name, Email, Group ID
$api->create_credential("John Doe", "", 54018);

// Update a Credential
$api->update_credential(10000005, "Jonathan Doe");

// Delete a Credential

// Get a Group

// Create a Group - Name, Course Name, Course Description, Course Link
$api->create_group("PHPTest", "Test course", "Test course description.", "");

// Update a Group 
$api->update_group(100, 'PHPTest2');

// Delete a Group

###Bug reports

If you discover any bugs, feel free to create an issue on GitHub. Please add as much information as possible to help us fixing the possible bug. We also encourage you to help even more by forking and sending us a pull request.


This project is open-sourced software licensed under the MIT license