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
其他信息
- 授权协议: LGPL-3.0-or-later
- 更新时间: 2020-05-15