nexgenenglish / neo-php
Official Neo PHP SDK
v1.1.1
2023-05-24 06:03 UTC
Requires
- ext-json: *
- guzzlehttp/guzzle: ^6.3
- rakit/validation: ^1.1
- tightenco/collect: ^5.8
Requires (Dev)
- phpunit/phpunit: ^8.0
This package is auto-updated.
Last update: 2024-10-24 09:18:07 UTC
README
Installation
The easiest way to install neo-php library is using composer
composer require nexgenenglish/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
, NEO_ETEST_BASE_URI
. In your macOS, you can use export command
export NEO_SSO_BASE_URI="https://sso.myneo.space"
export NEO_SSO_USERNAME="username"
export NEO_SSO_PASSWORD="password"
export NEO_ETEST_BASE_URI='https://etest.myneo.space'