定制 christophwurst/kitinerary-sys 二次开发

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

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

christophwurst/kitinerary-sys

最新稳定版本:v0.2.2

Composer 安装命令:

composer require christophwurst/kitinerary-sys

包简介

KItinerary binding for the system package

README 文档

README

System executable adapter for the kitinerary extractor package. This package provides an adapter that invokes the binary installed on the system, e.g. with a Linux distribution's package manager.

Installation

composer require christophwurst/kitinerary christophwurst/kitinerary-sys

Usage

use ChristophWurst\KItinerary\ItineraryExtractor;
use ChristophWurst\KItinerary\Sys\SysAdapter;
use ChristophWurst\KItinerary\Exception\KItineraryRuntimeException;

$adapter = new SysAdapter();
if (!$adapter->isAvailable()) {
    // ...
}
$extractor = new Extractor($adapter);

try {
    $itinerary = $extractor->extractFromString('...');
} catch (KItineraryRuntimeException $e) {
    // ...
}

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: LGPL-3.0-or-later
  • 更新时间: 2020-05-15