christophwurst/kitinerary-bin
最新稳定版本:v0.4.1
Composer 安装命令:
composer require christophwurst/kitinerary-bin
包简介
KItinerary binary executable
README 文档
README
Binary executable adapter for the kitinerary extractor package. This package provides an adapter that invokes a shipped kitinerary-extractor executable on x86_64 Linux systems.
The statically linked binary is created from source.
Installation
composer require christophwurst/kitinerary christophwurst/kitinerary-bin
Usage
use ChristophWurst\KItinerary\ItineraryExtractor; use ChristophWurst\KItinerary\Bin\BinaryAdapter; use ChristophWurst\KItinerary\Exception\KItineraryRuntimeException; $adapter = new BinaryAdapter(); if (!$adapter->isAvailable()) { // ... } $extractor = new Extractor($adapter); try { $itinerary = $extractor->extractFromString('...'); } catch (KItineraryRuntimeException $e) { // ... }
统计信息
- 总下载量: 356.24k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0-or-later
- 更新时间: 2019-11-18