akkroo / akkroo-sdk-php
Akkroo Offical SDK for PHP
Installs: 2 589
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 11
Forks: 0
Open Issues: 0
Requires
- php: ~7.0
- php-http/client-implementation: ^1.0
- php-http/discovery: ^1.0
- php-http/httplug: ^1.0 || ^2.0
- php-http/message: ^1.6
- php-http/message-factory: ^1.0
- psr/http-message: ^1.0
- psr/log: ^1.0
Requires (Dev)
- guzzlehttp/psr7: ^1.0
- monolog/monolog: ^1.23
- php-http/mock-client: ^1.0
- phpunit/phpunit: ~6.0
- squizlabs/php_codesniffer: ^2.3
README
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.