traewelling / hafas-client-php
This package is abandoned and no longer maintained.
The author suggests using the mrkriskrisu/hafas-client-php package instead.
PHP library for HAFAS public transport APIs (currently only Deutsche Bahn).
v0.5
2022-03-10 21:35 UTC
Requires
- php: ^8.0
- ext-json: *
- guzzlehttp/guzzle: ^7.3
- nesbot/carbon: ^2.0
Requires (Dev)
- phpunit/phpunit: ^9.0
README
Installation**
composer require mrkriskrisu/hafas-client-php
⚠️ This library is just being developed and structured. With each version the structure will change. So use this library with care and specify an exact version in your composer.json (don't use ^0.x!) until it reaches version 1.
Features
-
Fetch next departures of a station
-
Fetch next arrivals of a station
-
Fetch locations
-
Fetch journeys
-
Fetch nearby stops
Related
-
hafas-client
– JavaScript client for HAFAS public transport APIs. -
db-hafas
– JavaScript client for the Deutsche Bahn HAFAS API.