lrobert/nfo-server-status 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

lrobert/nfo-server-status

最新稳定版本:v0.1.0

Composer 安装命令:

composer require lrobert/nfo-server-status

包简介

A handy html parser for status pages on Nuclear Fallout Servers

README 文档

README

NFO Server Status is a project designed to parse query pages on NFO servers so that you can add your own server statuses on your site or manipulate/track the data.

Installation

Install using Composer:

{
    "require": {
        "lrobert/nfo-server-status": "0.1.*"
    }
}

Note On Specifying Versions

The project is still in it's developmental stage, hence the major version number remaining at 0. The rules of semantic versioning state that changes to the minor number should not break backwards compatibility, however, during these early stages that cannot be guaranteed. But changes to the patch number will remain backwards compatible. As such it is recommended to specify version numbers where the minor number remains a constant. If in doubt, just use the version number specified in the example above.

Once the project reaches a stable 1.0.0, the regular rules of semantic versioning will come into play.

Usage

use lrobert\NFOServerStatus\Murmur\MurmurStatusService;

$murmurStatusService = new MurmurStatusService();

$status = $murmurStatusService->getStatus("example_identifier");

echo $status->getOnline(); // false since example_identifier does not exist

/**
  * See MurmurStatusModel, MurmurChannelModel, and MurmurClientModel on how you can get access to the data
  */

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-05-30