A simple oAuth2 client for using Ecwid API.
Supported versions:
- PHP 5.5
- PHP 5.6
- PHP 7.0
- HHVM
Composer is used to install the dependencies: https://getcomposer.org/
Place the following files in your working directory:
- EcwidOAuth2Provider.php
- composer.json
Run composer install to install the dependencies
php composer.phar install
Include EcwidOAuth2Provider.php
in your project and use the oAuth2 client as in the example: example/index.php
Ecwid API docs: https://developers.ecwid.com/api-documentation
OAuth2 client library: https://github.com/thephpleague/oauth2-client