profits4purpose / guidestar
Client utility for querying the GuideStar API
Installs: 3 200
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 10
Forks: 0
Open Issues: 1
Requires
- guzzlehttp/guzzle: 4.*
Requires (Dev)
- phpunit/phpunit: 4.0.*
This package is not auto-updated.
Last update: 2019-02-20 18:28:42 UTC
README
This project provides a client for the GuideStar API. Requires a paid GuideStar account.
Testing
For simple unit tests, do this:
./phpunit
This will not query GuideStar, but will mock GuideStar's responses using the data
in tests/files/
instead. To query against the real GuideStar database, do this first:
cp phpunit-integration.xml.dist phpunit-integration.xml
nano phpunit-integration.xml
And fill in your GuideStar API key(s) into the environment variables it references. Then run the tests like so:
./phpunit -c phpunit-integration.xml
Have fun!