Download the PHP package itmedia/zippy-bus-bundle without Composer
On this page you can find all versions of the php package itmedia/zippy-bus-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download itmedia/zippy-bus-bundle
More information about itmedia/zippy-bus-bundle
Files in itmedia/zippy-bus-bundle
Download itmedia/zippy-bus-bundle
More information about itmedia/zippy-bus-bundle
Files in itmedia/zippy-bus-bundle
Vendor itmedia
Package zippy-bus-bundle
Short Description Интеграция с сервисом ZippyBus.com
License MIT
Homepage https://github.com/itmedia-by/zippy-bus-bundle
Package zippy-bus-bundle
Short Description Интеграция с сервисом ZippyBus.com
License MIT
Homepage https://github.com/itmedia-by/zippy-bus-bundle
Please rate this library. Is it a good library?
Informations about the package zippy-bus-bundle
ZippyBus client
Интеграция с сервисом ZippyBus.com:
- Symfony 3.0+
- Нативный PHP 7.0+
Установка и настройка
Symfony 3
app/AppKernel.php:
app/config/config.yml:
Получить сервис доступа к расписанию:
Без использования Symfony
В этом случае необходимые сервисы (ZippyBusProvider
) нужно собрать вручную.
Примеры использования
// Текущая дата расписания
$scheduleDate = ScheduleDate::createNow();
// Город (Лида)
$city = $zippyBusProvider->getCity(1);
// Доступные маршруты с направлениями на текущую дату
$routes = $zippyBusProvider->getRoutes($city, $scheduleDate);
// $direction = $route->getDirections()[0];
// Получить список остановок с расписанием движения для каждой остановки
$stops = $this->zippyBus()->getDirectionStops($direction);
``
All versions of zippy-bus-bundle with dependencies
PHP Build Version
Package Version
The package itmedia/zippy-bus-bundle contains the following files
Loading the files please wait ....