定制 vatsim/xml 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

vatsim/xml

Composer 安装命令:

composer require vatsim/xml

包简介

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

README 文档

README

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.

统计信息

  • 总下载量: 2.18k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 5
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-08-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固