profits4purpose/guidestar

This package is abandoned and no longer maintained. No replacement package was suggested.

Client utility for querying the GuideStar API

Installs: 3 203

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 11

Forks: 0

Open Issues: 1

pkg:composer/profits4purpose/guidestar

1.0.3 2015-03-17 00:40 UTC

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!