Official Neo PHP SDK


Keywords
library, neo, php, sdk-php
License
MIT

Documentation

[Archived] PHP Library for Neo API Ecosystem

Build Status

The repository moved to nexgenenglish.

Installation

The easiest way to install neo-php library is using composer

composer require dyned/neo-php

That's it!

Documentations

Please refer to documentations folder.

Test

Run the PHPUnit test using PHPUnit.

./vendor/bin/phpunit --bootstrap vendor/autoload.php tests --do-not-cache-result

The test reads several environment variable, such as service configuration, you need to provide: NEO_SSO_BASE_URI, NEO_SSO_USERNAME, NEO_SSO_PASSWORD. In your macOS, you can use export command

export NEO_SSO_BASE_URI="https://domain.com"
export NEO_SSO_USERNAME="username"
export NEO_SSO_PASSWORD="password"