Download the PHP package tholcomb/goes-php without Composer

On this page you can find all versions of the php package tholcomb/goes-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package goes-php

goes-php

A web service for downloading and serving NOAA GOES imagery for live-ish background images.

If you're unfamiliar, that's the Geostationary Operational Environmental Satellite.

Requirements

Install

Composer:

Manual:

Setup

File Permissions

These instructions assume php-fpm runs as the www-data user and that your account is a member of the www-data group. Adjust accordingly.

crontab

This will cause the cron command to run every 5 minutes. Adjust to taste. This has the same assumptions as above.

nginx

Usage

Managing users

Add a user

Then, follow the prompts. If you answer "yes" to the "Include time data" prompt, a timestamp and info from the original image will appear below Antarctica, otherwise, it will be cropped.

NOTE: The API Key does not need to be secure. That is, unless your threat model includes extremely petty people who will research what obscure software you're using in order to mildly inconvenience you.

List users

Remove user

Getting images

Simply send a GET request to /latest.jpg with your API Key. The API Key can be included two ways:

  1. As the GET parameter 'apiKey' (ex. /latest.jpg?apiKey=$API_KEY)
  2. As the HTTP Header 'Api-Key' (ex. Api-Key: $API_KEY)

See download_goes.php for a working example.

iOS Shortcut

iCloud link

Limitations

These limitations are due to the base image URL being hardcoded. (Sue me.) If you're running up against these, feel free to email me or submit a pull request.

Acknowledgements

This project would not have been possible without the fine work done by the folks at the National Atmospheric & Oceanic Administration (NOAA), and more specifically, the National Environmental Satellite, Data, and Information Service (NESDIS) and the Center for Satellite Applications and Research (STAR).

Send them your love! Preferably, in the form of a letter to your congressperson.


All versions of goes-php with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
ext-curl Version *
ext-imagick Version *
ext-sqlite3 Version *
doctrine/orm Version ^2.9
guzzlehttp/guzzle Version ^7.3
symfony/process Version ^5.3
tholcomb/symple-console Version ^1.0
tholcomb/symple-http Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package tholcomb/goes-php contains the following files

Loading the files please wait ....