Vatsimphp Library - Parse public VATSIM statistics, ideal for your Virtual Airline website
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 79 commits behind skymeyer:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Vatsimphp Library Build Status Coverage Status Dependency Status

Vatsimphp collects and parses the publically available statistics from the 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:


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

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



  • 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.


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


See the file for more details.


Jelle Vink - (


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


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