iRail is an attempt to make transportation time schedules easily available for anyone.
We are doing this by creating an Application Programming Interface. This interface is implemented in PHP and can be reused by various of other projects.
Our main site consists of a very easy mobile website to look up time schedules using our own API.
Native applications using the iRail API and created or supported by the iRail team are named BeTrains and RailerApp.
All information can be found on our blog at hello.iRail.be.
For the configuration we used a package named dotenv.
There is a
.env example located in the base folder from the project.
composer install wil write a nex .env file for your confiration.
The only thing you need to do is change the variables so it fits to your credentails.
Update stations list
Stations are updated through the irail/stations composer package. Just perform a
composer update in the root of the project