ivanstan / tle-php
TLE Framework written in PHP and client to NASA TLE API.
1.0.3
2021-02-25 11:17 UTC
Requires
- php: ^7.4|^8.0
- ext-json: *
- guzzlehttp/guzzle: ^6.5
- myclabs/php-enum: ^1.7
Requires (Dev)
- phpunit/phpunit: ^8
- dev-master
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0
- dev-dependabot/composer/guzzlehttp/psr7-1.9.1
- dev-dependabot/composer/guzzlehttp/guzzle-6.5.8
- dev-dependabot/composer/myclabs/php-enum-1.8.3
- dev-dependabot/composer/phpunit/phpunit-9.5.8
- dev-dependabot/add-v2-config-file
- dev-dependabot/composer/guzzlehttp/guzzle-7.3.0
This package is auto-updated.
Last update: 2024-11-20 00:11:21 UTC
README
Client for NASA TLE API (http://api.nasa.gov/) and TLE framework implemented in php.
About
The TLE API provides up to date two line element set records, the data is updated daily from CelesTrak and served in JSON format. A two-line element set (TLE) is a data format encoding a list of orbital elements of an Earth-orbiting object for a given point in time. For more information on TLE data format visit Definition of Two-line Element Set Coordinate System.
Installation
composer require ivanstan/tle-php
Usage
use Ivanstan\Tle\Api;
$client = new Api();
$tle = $client->get(25544);
$tle->getLine1();
$tle->getLine2();