PHPackages                             rb-cohen/cif-parser - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. rb-cohen/cif-parser

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

rb-cohen/cif-parser
===================

A CIF parser for PHP

2151PHP

Since Apr 10Pushed 13y ago1 watchersCompare

[ Source](https://github.com/rb-cohen/php-cif-parser)[ Packagist](https://packagist.org/packages/rb-cohen/cif-parser)[ RSS](/packages/rb-cohen-cif-parser/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

php-cif-parser
==============

[](#php-cif-parser)

A standalone PHP CIF parser for train/bus schedule files

Installation / Usage
--------------------

[](#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
------------------------

[](#installation-from-source)

To run tests, or develop the library itself, you can clone this project and get everything running with composer:

1. Run `git clone https://github.com/rb-cohen/php-cif-parser.git`
2. 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`

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/203873940?v=4)[rb-cohen](/maintainers/rb-cohen)[@rb-cohen](https://github.com/rb-cohen)

---

Top Contributors

[![arronwoods](https://avatars.githubusercontent.com/u/778702?v=4)](https://github.com/arronwoods "arronwoods (4 commits)")

### Embed Badge

![Health badge](/badges/rb-cohen-cif-parser/health.svg)

```
[![Health](https://phpackages.com/badges/rb-cohen-cif-parser/health.svg)](https://phpackages.com/packages/rb-cohen-cif-parser)
```

###  Alternatives

[mck89/peast

Peast is PHP library that generates AST for JavaScript code

19037.7M41](/packages/mck89-peast)[sauladam/shipment-tracker

Parses tracking information for several carriers, like UPS, USPS, DHL and GLS by simply scraping the data. No need for any kind of API access.

9642.0k](/packages/sauladam-shipment-tracker)[jstewmc/rtf

Read and write Rich Text Format (RTF) documents with PHP

46143.1k6](/packages/jstewmc-rtf)[moonshine/layouts-field

Field for repeating groups of fields for MoonShine

107.9k](/packages/moonshine-layouts-field)[tcds-io/php-jackson

A lightweight, flexible object serializer for PHP, inspired by FasterXML/jackson

112.9k10](/packages/tcds-io-php-jackson)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
