nextcloud / kitinerary
KItinerary adapter
v1.0.0
2023-12-07 13:53 UTC
Requires
- ext-json: *
This package is not auto-updated.
Last update: 2024-12-21 12:36:53 UTC
README
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 nextcloud/kitinerary
Usage
use Nextcloud\KItinerary\ItineraryExtractor; use Nextcloud\KItinerary\Exception\KItineraryRuntimeException; $extractor = new ItineraryExtractor(/* adapter instance */); try { $itinerary = $extractor->extractFromString('...'); } catch (KItineraryRuntimeException $e) { // ... }