Skip to content

PHP library that parses coded METAR weather reports.

License

Notifications You must be signed in to change notification settings

finau/php-metar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

php-metar

PHP library that parses coded METAR weather reports.

How to use:

Here's an example of METAR data: KTTN 051853Z 04011KT M1/2SM VCTS SN FZFG BKN003 OVC010 M02/M02 A3006 RMK AO2 TSB40 SLP176 P0002 T10171017=

<?php

include 'Metar.php';

$data = "KTTN 051853Z 04011KT M1/2SM VCTS SN FZFG BKN003 OVC010 M02/M02 A3006 RMK AO2 TSB40 SLP176 P0002 T10171017=";
$metar = new Metar($data);
$result = $metar->parse();

print($result)

You are welcome to submit a PR request, I will review it before merge into our main branch. I encourage you to submit a PR request if you see a bugs or an improvement.

If you want to contribute, you have to fork this repo. Read more here about fork https://akrabat.com/the-beginners-guide-to-contributing-to-a-github-project/

About

PHP library that parses coded METAR weather reports.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages