New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

vatsim/xml

A simple laravel package for retrieving data from public VATSIM XML Feeds.
2,218 1
Install
composer require vatsim/xml
Latest Version:2.3.1
PHP:>=5.5.9
Laravel:5 · 6
Older releases:4
License:MIT
Last Updated:Oct 12, 2026
Links: GitHub  ·  Packagist
Maintainer: A-Lawrence

VatsimXMLFeeds

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

Version

2.2 (Lumen Supported)

Installation

Use Composer to install the VatsimXML and dependencies.

$ composer require vatsim/xml 2.*

Laravel

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(
    // ...
    'Vatsim\Xml\XmlServiceProvider',
),

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.

Usage

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.

VatsimXML::getData(980234)

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.

Related Packages

laravie/parser

XML Document Parser for PHP

2,258,770 230
kanvas/social

Add social layout to your kanvas application.

13,206 0
spatie/array-to-xml

Convert an array to xml

73,645,315 1,198
idevman/xml-mapper

Used to map XMLs to mapped arrays

1,542 1

Version History

Version Released PHP Laravel License
2.3.1 >=5.5.9 >5.0.0 MIT
2.3 >=5.5.9 >5.0.0 MIT
v2.2 >=5.5.9 5.* MIT
2.1 >=5.4.0 5.* MIT
2.0 >=5.5.9 5.* MIT