PHPackages                             sodonnell/spacetrack - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. sodonnell/spacetrack

ActiveLibrary[API Development](/categories/api)

sodonnell/spacetrack
====================

Simple Space-Track.org API Client written in PHP.

1.6(7y ago)2523MITPHPPHP &gt;=5.0.0

Since May 6Pushed 6y ago1 watchersCompare

[ Source](https://github.com/sodonnell/spacetrack)[ Packagist](https://packagist.org/packages/sodonnell/spacetrack)[ RSS](/packages/sodonnell-spacetrack/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (9)Used By (0)

spacetrack
==========

[](#spacetrack)

**A generic REST/JSON API client for the [space-track.org](https://www.space-track.org/) web service, written in PHP.**

The design concept for this class is to create a universal (PHP) object specifically to interact with all of the space-track.org API services, with as minimal code as possible.

This class supports the bandwidth-throttling suggested by the API documentation (100k/sec transfers), to minimize service bandwidth spikes.

Ideally, you should be able to create scripts to interact with the [space-track.org API endpoint](https://www.space-track.org/documentation#/api) of your preference, via crontab (on a daily/weekly/monthly basis), and store/sync the data locally for post-processing via database or (key/value) datastore. Many of the API requests return very large (static) datasets, which do not change frequently, so local data caching is highly suggested.

This project is considered experimental, and is intended for authorized users of the [space-track.org](https://www.space-track.org/) web service (only).

Requirements
------------

[](#requirements)

- PHP v5.0 or higher, compiled w/ the CURL extension
- An authorized user account on [space-track.org](https://www.space-track.org/)

Installation
------------

[](#installation)

```
composer require "sodonnell/spacetrack"
```

Getting started
---------------

[](#getting-started)

### Usage Example

[](#usage-example)

```
