nextcloud/kitinerary

KItinerary adapter

v1.0.0 2023-12-07 13:53 UTC

This package is not auto-updated.

Last update: 2024-04-27 09:32:51 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 nextcloud/kitinerary

Usage

use Nextcloud\KItinerary\ItineraryExtractor;
use Nextcloud\KItinerary\Exception\KItineraryRuntimeException;

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

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