A PHP library for manipulating with General Transit Feed Specification.
The library supports parsing of Static feeds only at this time. I will be adding builder functionality, as well as support for Realtime feeds later.
I would not recommend you using this library because it is unstable, has no tests and interfaces may change. It is in beta stage and under active development now. Stable version will be released later.
You can proceed reading if you ok with it.
composer require ilyahoilik/php-gtfs
$feed = new Feed('/Users/ilya/gtfs');
foreach ($feed->routes()->read() as $route) {
// process routes...
}
Will be documented later...