Skip to content

bvrignaud/ci-sncf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ci-Sncf

Ci-Sncf is a php and CodeIgniter (3.x) library to use the SNCF's Open-data. As Sncf use Navitia, you can alos use this library as an exemple to how to interact wit Navitia.

Requirements

Installation

Using composer :

/application$ composer require "canaltp/navitia":"~1.2"

In your CodeIgniter /application/config/config.php file, set $config['composer_autoload'] to TRUE. Read more.

Copy the files from this package to the corresponding folder in your application folder. For example, copy config/sncf.php to application/config/sncf.php

Edit your sncf.php config file in /application/config/sncf.php with your Sncf account details.

Autoload the library in application/config/autoload.php or load it in needed controllers with $this->load->library('sncf');.

Usage

In the package you will find simple example usage code in the controllers and views folders.

About

Sncf library for CodeIgniter

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages