coderjerk/nasa-php

PHP client library for the NASA APIs

v0.1.5 2020-11-01 00:33 UTC

This package is auto-updated.

Last update: 2024-11-09 00:52:12 UTC


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