coderjerk / nasa-php
PHP client library for the NASA APIs
Requires
- guzzlehttp/guzzle: ^7.0
- vlucas/phpdotenv: ^5.2
Requires (Dev)
- phpunit/phpunit: ^9.4
- symfony/var-dumper: ^5.1
README
A PHP Client library for the complete set of NASA Open APIs.
The project is in very early stages of development, nevertheless the classes with documentation linked below are fully functional and tested.
Not production ready until v1.0.0 comes out
Installation
Install using composer.
$ composer require coderjerk/nasa-php
Authentication
Sign up for an API Key here. Set up a .env file in your projects root (if you don't already have one). https://github.com/vlucas/phpdotenv
add the folowing details to your .env
NASA_API_KEY='xxxxxyourkeyherexxxxx'
Endpoint Documentation
Details on how to use each endpoint can be found here:
Tests
run all tests:
$ phpunit
Contribute
All contributions welcome, in whatever format. Create an issue, a pull request or email me at jerk@coderjerk.com with your idea or suggestion. Code of conduct is don't be a jerk.
License
MIT