php-cif-parser
A standalone PHP CIF parser for train/bus schedule files, (*1)
Installation / Usage
The easiest way to use php-cif-parser is to install it with composer. If you don't want to use composer, you can download the project and autoload it manually., (*2)
To include the parser in to your project using composer, add the following to your composer.json file:, (*3)
``` json
{
"require": {
"rb-cohen/cif-parser": "dev-master"
}
}
```
Installation from Source
To run tests, or develop the library itself, you can clone this project and get everything running with composer:, (*4)
- Run
git clone https://github.com/rb-cohen/php-cif-parser.git
- Run Composer to get the dependencies:
cd php-cif-parser && php composer.phar install
You can now run the examples or tests by executing the examples/xxx.php scripts: php /path/to/examples/simple.php, (*5)