dyned / neo-php
This package is abandoned and no longer maintained.
The author suggests using the nexgenenglish/neo-php package instead.
Official Neo PHP SDK
v0.4.1
2019-07-11 07:49 UTC
Requires
- ext-json: *
- guzzlehttp/guzzle: ^6.3
- rakit/validation: ^1.1
- tightenco/collect: ^5.8
Requires (Dev)
- phpunit/phpunit: ^8.0
README
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"