PHPackages                             bramdevries/irail-php - 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. [API Development](/categories/api)
4. /
5. bramdevries/irail-php

ActiveLibrary[API Development](/categories/api)

bramdevries/irail-php
=====================

A PHP wrapper for iRail.be

1.1.0(11y ago)525[1 PRs](https://github.com/bramdevries/irail-php/pulls)MITPHP

Since Apr 25Pushed 3y agoCompare

[ Source](https://github.com/bramdevries/irail-php)[ Packagist](https://packagist.org/packages/bramdevries/irail-php)[ Docs](https://github.com/bramdevries/irail-php)[ RSS](/packages/bramdevries-irail-php/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

iRail-php
=========

[](#irail-php)

A Composer compatible PHP wrapper for [iRail.be](https://hello.irail.be/about/)

Usage
-----

[](#usage)

Using this can literaly not be easier. Just require it using composer:

`composer require bramdevries/irail-php`

Then create an instance

```
use iRail\Client as iRail;

$irail = new iRail();

```

If you want a list of all the belgian railway stations:

```
$stations = $irail->api('stations')->all();

```

To get info about a connection between two stations:

```
$connection = $irail->api('connection')->schedule('Tienen', 'Courtrai');

```

For other usage you can check the example file included.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity65

Established project with proven stability

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4290d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/041cdc8fc831716b7f56c3ddf84169ea1d97ca91e9ea90b42be88d73c404ff8a?d=identicon)[bramdevries](/maintainers/bramdevries)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/bramdevries-irail-php/health.svg)

```
[![Health](https://phpackages.com/badges/bramdevries-irail-php/health.svg)](https://phpackages.com/packages/bramdevries-irail-php)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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