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. [API Development](/categories/api)
4. /
5. pedros80/nrephp

ActiveLibrary[API Development](/categories/api)

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

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

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

Since Nov 17Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/pedros80/nrephp)[ Packagist](https://packagist.org/packages/pedros80/nrephp)[ RSS](/packages/pedros80-nrephp/feed)WikiDiscussions main Synced 2w 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

44

—

FairBetter than 90% of packages

Maintenance71

Regular maintenance activity

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity72

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

164d 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.9k556.2M21.5k](/packages/laravel-framework)[leantime/leantime

Open source project management system for non-project managers. Simple like Trello, powerful like Jira. Built with neurodiversity in mind.

11.3k4.0k](/packages/leantime-leantime)[wheelpros/fitment-platform-api

Magento 2 (Open Source)

12.2k1.2k](/packages/wheelpros-fitment-platform-api)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.8M676](/packages/shopware-core)[tempest/framework

The PHP framework that gets out of your way.

2.3k37.6k21](/packages/tempest-framework)[aedart/athenaeum

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

265.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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