https://github.com/thormeier/transport-client-bundle
Symfony2 bundle to query the OpenData Transport API
https://github.com/thormeier/transport-client-bundle
Last synced: 9 months ago
JSON representation
Symfony2 bundle to query the OpenData Transport API
- Host: GitHub
- URL: https://github.com/thormeier/transport-client-bundle
- Owner: thormeier
- Created: 2013-08-29T12:42:24.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2013-11-28T09:03:13.000Z (over 12 years ago)
- Last Synced: 2025-01-29T21:11:14.634Z (over 1 year ago)
- Language: PHP
- Homepage:
- Size: 341 KB
- Stars: 3
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
ThormeierTransportClientBundle
==============================
[](https://travis-ci.org/thormeier/transport-client-bundle)
## Introduction
This bundle provides simple access to the [OpenData Transport API](http://transport.opendata.ch/) in Symfony2. The Transport API provides Swiss public transport data, that is converted into instances of Doctrine-like entity classes within this bundle for further usage.
container->get('transport.client');
This bundle provides a new `transport.client` service that returns an instance of `Thormeier\TransportClientBundle\Service\Transport`
## Installation
### Step 1: Composer require
$ php composer.phar require "thormeier/transport-bundle":"1.0.*"
### Step2: Enable the bundle in the kernel