christophwurst / kitinerary
KItinerary adapter
Installs: 229 013
Dependents: 3
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 4
Open Issues: 0
Requires
- ext-json: *
This package is auto-updated.
Last update: 2024-12-07 09:39:45 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) { // ... }