christophwurst/kitinerary

KItinerary adapter

Maintainers

Package info

github.com/ChristophWurst/kitinerary

pkg:composer/christophwurst/kitinerary

Statistics

Installs: 361 526

Dependents: 3

Suggesters: 0

Stars: 0

Open Issues: 0

0.2.4 2023-10-20 16:46 UTC

This package is auto-updated.

Last update: 2026-03-07 12:24:54 UTC


README

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) {
    // ...
}