Download the PHP package soandso/synop without Composer

On this page you can find all versions of the php package soandso/synop. 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 synop

Packagist License GitHub Workflow Status Codacy grade Packagist PHP Version Support GitHub top language GitHub repo size GitHub release (latest SemVer) Codacy coverage

Synop (AAXX/BBXX) weather report decoder

PHP library for decoding SYNOP (AAXX) strings of weather reports.

You can try out the library on the demo site

Introduction

This library component is a parser for decoding the raw SYNOP weather report.

SYNOP (surface synoptic observations) is a numerical code (called FM-12 by WMO) used for reporting weather observations made by manned and automated weather stations. A report consists of groups of numbers and symbols describing meteorological parameters, that observes at a weather station.

See more details at Manual of Codes. International of codes. Volume I.1. World Meteorological Organization, 2011

There are such forms of surface synoptic observations

The current version of the library works with the SYNOP code form.

Requirements

This library only requires PHP >= 7.4

Setup

Add the library to your composer.json file in your project:

Use composer to install the library:

Composer will install synop decoder library inside your vendor folder. Then you can add the following to your .php files to use the library with Autoloading.

You can also use composer on the command line to require and install Grouping:

Usage

Instantiate the class with the SYNOP weather report string. To check the of the original weather report, use the validate method of the object.

If the summary is in a valid format, you can get the decoded SYNOP parameters. The object contains methods for getting decoded data.

Available Methods of the Report Object

Contribute

If you find a SYNOP report that is poorly parsed by this library, please open a GitHub issue with as many details as possible.

To improve the test suite, fork the repository and push your changes using a pull request.

If you have an idea to improve the library, develop new features, use GitHub issues, or direct pull requests. To contribute to the codebase, you should fork the repository on GitHub and then clone it locally. Make changes to the code and submit a pull request.

The documentation of the program code can be viewed in the directory.

A simplified sequence diagram of one of the main methods - of the class.

Code quality and test coverage are analyzed by the Codacy service

Standards

Synop conforms to the following standards:

License

Grouping is licensed under the GPLv2 License (https://www.gnu.org/licenses/old-licenses/gpl-2.0.html).


All versions of synop with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
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 soandso/synop contains the following files

Loading the files please wait ....