2017 © Pedro Peláez
 

library xml

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

image

vatsim/xml

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

  • Monday, April 10, 2017
  • by A-Lawrence
  • Repository
  • 2 Watchers
  • 1 Stars
  • 1,784 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

VatsimXMLFeeds

The Vatsim Xmlfeeds package is a useful laravel 5 package for accessing data publically presented via VATSIMs XML feeds., (*1)

Version

2.2 (Lumen Supported), (*2)

Installation

Use Composer to install the VatsimXML and dependencies., (*3)

$ 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:, (*4)

'providers' => array(
    // ...
    'Vatsim\Xml\XmlServiceProvider',
),

Followed by the alias:, (*5)

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

Configuration file

You should not need to modify the default configuration file supplied by the package., (*6)

Usage

Getting data

This lightweight package only has one main function: getData, (*7)

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

VatsimXML::getData(980234)

Other possible data requests are as follows., (*9)

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.

The Versions

10/04 2017

dev-master

9999999-dev

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

  Sources   Download

MIT

The Requires

 

by Anthony Lawrence

laravel xml feeds vatsim

10/04 2017

v2.2

2.2.0.0

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

  Sources   Download

MIT

The Requires

 

by Anthony Lawrence

laravel xml feeds vatsim

10/01 2016

2.1

2.1.0.0

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

  Sources   Download

MIT

The Requires

 

by Anthony Lawrence

laravel xml feeds vatsim

21/12 2015

dev-develop

dev-develop

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

  Sources   Download

MIT

The Requires

 

by Anthony Lawrence

laravel xml feeds vatsim

21/12 2015

2.0

2.0.0.0

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

  Sources   Download

MIT

The Requires

 

by Anthony Lawrence

laravel xml feeds vatsim

21/12 2015

1.0

1.0.0.0

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

  Sources   Download

MIT

The Requires

 

by Anthony Lawrence

laravel xml feeds vatsim