lyranetwork / krypton-php-sdk
Lyra REST API PHP SDK
Installs: 6 866
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 9
Forks: 2
Open Issues: 0
README
Lyra Network REST API SDK.
Requirements
PHP 5.4.0 and later.
Installation
Lyra Network REST api SDK is available via Composer/Packagist. Just add this line to your composer.json
file:
"lyra/krypton-php-sdk": "4.0.*"
or
composer require lyra/krypton-php-sdk:4.0.*
To use the SDK, use Composer's autoload:
require_once('vendor/autoload.php');
Manual Installation
If you do not want to use Composer, you can download the latest release from github.
To use the SDK, include the autoload.php
file:
require_once('/path/to/php-sdk/autoload.php');
SDK Usage
A simple integration example is available here
You can also take a look to our github examples repository: https://github.com/LyraNetwork/krypton-php-examples
Run tests
start docker using docker compose:
docker-compose up -d
Install deps
docker exec -ti krypton-php-sdk composer install
and run the test suite with:
docker exec -ti krypton-php-sdk ./vendor/bin/phpunit src/
License
This project is licensed under MIT License