profits4purpose / guidestar
This package is abandoned and no longer maintained.
No replacement package was suggested.
Client utility for querying the GuideStar API
1.0.3
2015-03-17 00:40 UTC
Requires
- guzzlehttp/guzzle: 4.*
Requires (Dev)
- phpunit/phpunit: 4.0.*
This package is not auto-updated.
Last update: 2024-08-08 21:11:11 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!