Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Vatsimphp Library - Parse public VATSIM statistics, ideal for your Virtual Airline website
Branch: master
Pull request Compare This branch is 78 commits behind skymeyer:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
examples
src/Vatsimphp
tests
.coveralls.yml
.gitignore
.travis.yml
CHANGELOG.md
LICENSE
NOTICE
README.md
composer.json
phpunit.xml.dist

README.md

Vatsimphp Library Build Status Coverage Status Dependency Status

Vatsimphp collects and parses the publically available statistics from the VATSIM.net network. It provides iterators for the available data and basic search/filtering capabilities without using a database backend.

It also uses an intelligent local file cache to avoid consuming unnecessary bandwidth from the public data servers. The software comes with sensible default settings, but can be changed if required. Vatsimphp can be dropped into your crontab very easily to avoid inline data updates in your web application.

Vatsimphp also supports local-file-only mode if another process is already responsible to retrieve the raw data files from the VATSIM network or if live connections are not applicable.

Vatsimphp can be easily plugged into existing PHP systems to query VATSIM data or feed the parsed results into a database backend of your choice.

HipChat HipChat Dev & notification room

Basic usage

For almost all use cases the only class to use is VatsimData(). This is an example how to retrieve all South West Airlines (SWA) pilots:

<?php

use Vatsimphp\VatsimData;
$vatsim = new VatsimData();
$vatsim->loadData();
$swaPilots = $vatsim->searchCallsign('SWA');

For more information and examples see the docs and examples directories.

About

Requirements

  • From PHP 5.3 and above
  • PHPUnit 3.7 or higher for test suite execution

Bugs and feature requests

Bugs and feature request can be filed on the issues page.

Contributing

Contributions are welcome in respect of the PSR-2 coding style and unit test coverage.

Changelog

See the CHANGELOG.md file for more details.

Author

Jelle Vink - jelle.vink@gmail.com (http://skymeyer.be)

License

Vatsimphp is licensed under the Apache License, Version 2.0. Check the LICENSE and NOTICE file for details.

Disclaimer

VATSIM (Virtual Air Traffic Simulation Network) is a non-profit organisation. The development of this software is not directly affiliated to the VATSIM organisation and provided on an "as is" basis as set forward in the above License. This software does not connect to the VATSIM network directly, but rather consumes publically available resources produced by the VATSIM network.

More information on VATSIM can be found at http://www.vatsim.net.

Something went wrong with that request. Please try again.