ChristophWurst / kitinerary

php integration of KItinerary

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kitinerary

KDE itinerary extractor for php. This package does not provide the bindings to the C++ applications. Use the binary adapter and Flatpak adapter in combination with this package.

Installation

composer require christophwurst/kitinerary

Usage

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

$extractor = new ItineraryExtractor(/* adapter instance */);

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

About

php integration of KItinerary

License:GNU Affero General Public License v3.0


Languages

Language:PHP 100.0%