A simple laravel package for retrieving data from public VATSIM XML Feeds.

2.3.1 2019-12-22 22:01 UTC

This package is not auto-updated.

Last update: 2020-06-26 17:49:53 UTC


The Vatsim Xmlfeeds package is a useful laravel 5 package for accessing data publically presented via VATSIMs XML feeds.


2.2 (Lumen Supported)


Use Composer to install the VatsimXML and dependencies.

$ composer require vatsim/xml 2.*


Set up

Using VatsimXML in Laravel is made easy through the use of Service Providers. Add the service provider to your config/app.php file:

'providers' => array(
    // ...

Followed by the alias:

'aliases' => array(
    // ...
    'VatsimXML'       => 'Vatsim\Xml\Facades\Xml',

Configuration file

You should not need to modify the default configuration file supplied by the package.


Getting data

This lightweight package only has one main function: getData

If you don't specify a URL to use, you will be given basic user details.


Other possible data requests are as follows.

VatsimXML::getData(980234, "idstatusint") // Receive basic data, but with numeric ratings rather than verbose.
VatsimXML::getData(980234, "idstatusprat") // Receive the previous rating, for ADM, SUP or INS accounts.
VatsimXML::getData(980234, "idstatusrat") // Get the number of hours controlled at each rating level.