PHPackages                             pedros80/nrephp - 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. pedros80/nrephp

ActiveLibrary

pedros80/nrephp
===============

php wrapper for National Railway Enquiries APIs; Darwin, Historical Service Performance, KnowledgeBase etc...

v2.1.0(2mo ago)0177PHPPHP ^8.4CI failing

Since Nov 17Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/pedros80/nrephp)[ Packagist](https://packagist.org/packages/pedros80/nrephp)[ RSS](/packages/pedros80-nrephp/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (28)Versions (16)Used By (0)

[![Code Coverage Badge](./coverage_badge.svg)](./coverage_badge.svg)

NREphp
======

[](#nrephp)

php wrappers and services for interacting with the various National Rail Enquiries apis and open data feeds.

- Darwin

    - [Webservice](https://wiki.openraildata.com/index.php?title=NreDarwinWebServicePublic "Webservice")
    - [PushPort](https://wiki.openraildata.com/index.php?title=Darwin:Push_Port "PushPort")
    - [Historical Service Performance](https://wiki.openraildata.com/index.php?title=HSP "Historical Service Performance")
- [KnowledgeBase](https://wiki.openraildata.com/index.php?title=KnowledgeBase "KnowledgeBase")
- [DTD](https://wiki.openraildata.com/index.php?title=DTD "DTD")

You will need an account with [National Rail Data Portal](https://opendata.nationalrail.co.uk/ "Rail Delivery Group") and to activate individual feeds/apis to access the data.

Use the ServicesFactory to create individual services...

###  Health Score

48

—

FairBetter than 94% of packages

Maintenance86

Actively maintained with recent releases

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 67.5% 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

Every ~93 days

Recently: every ~233 days

Total

14

Last Release

68d ago

Major Versions

v0.3.0 → v1.0.02024-06-01

v1.0.0 → v2.0.02026-03-08

PHP version history (3 changes)v0.1.0PHP ^8.1

v1.0.0PHP ^8.3

v2.0.0PHP ^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/24765e8558f3cec0ee491de711650fe91b448327fbe0e65d1ef5eb40b787234f?d=identicon)[shooglypeg](/maintainers/shooglypeg)

---

Top Contributors

[![petersgecko](https://avatars.githubusercontent.com/u/40264802?v=4)](https://github.com/petersgecko "petersgecko (77 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (37 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/pedros80-nrephp/health.svg)

```
[![Health](https://phpackages.com/badges/pedros80-nrephp/health.svg)](https://phpackages.com/packages/pedros80-nrephp)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.6k509.9M17.0k](/packages/laravel-framework)[magento/community-edition

Magento 2 (Open Source)

12.1k52.1k10](/packages/magento-community-edition)[wheelpros/fitment-platform-api

Magento 2 (Open Source)

12.1k1.2k](/packages/wheelpros-fitment-platform-api)[laravel/vapor-cli

The Laravel Vapor CLI

31310.7M8](/packages/laravel-vapor-cli)[magento/magento2-functional-testing-framework

Magento2 Functional Testing Framework

15511.5M30](/packages/magento-magento2-functional-testing-framework)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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