akkroo/akkroo-sdk-php

Akkroo Offical SDK for PHP

v4.0.2 2022-02-16 06:28 UTC

README

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

The Akkroo SDK for PHP allows developers to easily integrate Akkroo services into their applications. It provides access to our REST API using handy PHP objects and interfaces that follow the PSR-2 Coding Standard.

Install

Via Composer

$ composer require akkroo/akkroo-sdk-php

Usage

// Use your favourite PSR-7 HTTP client
$http = new Some\Psr7\HTTPClient();

// Create an Akkroo client with your API key
$akkroo = new Client($http, 'YourAkkrooAPIUsername', 'YourAkkrooAPIKey')->login();

// Do awesome stuff...
var_dump($akkroo->test());

Change log

Please see CHANGELOG for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email dev@akkroo.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.