rb-cohen / cif-parser
There is no license information available for the latest version (dev-master) of this package.
A CIF parser for PHP
dev-master
2013-04-10 22:24 UTC
This package is not auto-updated.
Last update: 2024-11-23 15:29:34 UTC
README
A standalone PHP CIF parser for train/bus schedule files
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.
To include the parser in to your project using composer, add the following to your composer.json file:
``` 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:
- 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