2017 © Pedro Peláez
 

library irail-php

A PHP wrapper for iRail.be

image

bramdevries/irail-php

A PHP wrapper for iRail.be

  • Sunday, August 17, 2014
  • by bramdevries
  • Repository
  • 0 Watchers
  • 5 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

iRail-php

A Composer compatible PHP wrapper for iRail.be, (*1)

Usage

Using this can literaly not be easier. Just require it using composer:, (*2)

composer require bramdevries/irail-php, (*3)

Then create an instance, (*4)

use iRail\Client as iRail;

$irail = new iRail();

If you want a list of all the belgian railway stations:, (*5)

$stations = $irail->api('stations')->all();

To get info about a connection between two stations:, (*6)

$connection = $irail->api('connection')->schedule('Tienen', 'Courtrai');

For other usage you can check the example file included., (*7)

The Versions

17/08 2014

dev-master

9999999-dev https://github.com/bramdevries/irail-php

A PHP wrapper for iRail.be

  Sources   Download

MIT

The Requires

 

16/08 2014

1.1.0

1.1.0.0 https://github.com/bramdevries/irail-php

A PHP wrapper for iRail.be

  Sources   Download

MIT

The Requires

 

25/04 2014

dev-develop

dev-develop https://github.com/bramdevries/irail-php

A PHP wrapper for iRail.be

  Sources   Download

MIT

The Requires