定制 ridvanbaluyos/mmda 二次开发

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

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

ridvanbaluyos/mmda

最新稳定版本:v1.1.1

Composer 安装命令:

composer require ridvanbaluyos/mmda

包简介

A PHP Library built for the MMDA Traffic Update.

README 文档

README

An MMDA Traffic Navigator package for PHP

Traffic Data downloaded from: MMDA-TV5 Metro Manila Traffic Navigator

Latest Stable Version Total Downloads Scrutinizer Code Quality Build Status Codacy Badge License

Table of contents

Installation

Open your composer.json file and add the following to the require key:

"ridvanbaluyos/mmda": "1.1"

After adding the key, run composer update from the command line to install the package

composer install

or

composer update

Usage

<?php
// require the autoloader created upon composer install/update
require_once __DIR__ . '/vendor/autoload.php';

// namespace
use Ridvanbaluyos\Mmda\MMDA as MMDA;

// instantiate the MMDA object
$mmda = new MMDA();

Getting Traffic Data

$mmda->traffic();

Getting Major Highways

$mmda->highways();

Getting Highway Segments

// parameter should be a valid highway (see getting major highways)
$mmda->segments('EDSA');

Special thanks to:

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 2
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-02-25