PHPackages                             trainjunkies-packages/darwin-webservice - 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. trainjunkies-packages/darwin-webservice

ActiveLibrary

trainjunkies-packages/darwin-webservice
=======================================

Consume NRE Darwin Staff webservice

v1.0(6y ago)02proprietaryPHPPHP ^7.1

Since Oct 4Pushed 6y agoCompare

[ Source](https://github.com/third-rail-packages/darwin-webservice)[ Packagist](https://packagist.org/packages/trainjunkies-packages/darwin-webservice)[ RSS](/packages/trainjunkies-packages-darwin-webservice/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (5)Versions (2)Used By (0)

Trainjunkies - Darwin Webservice
================================

[](#trainjunkies---darwin-webservice)

[![Build Status](https://camo.githubusercontent.com/8ef43ce7d7a2c442380df80c91008fa84b25b4ca326fc5b99043ec39059fc054/68747470733a2f2f7472617669732d63692e636f6d2f747261696e6a756e6b6965732d7061636b616765732f64617277696e2d776562736572766963652e7376673f746f6b656e3d71704e3769547150323444734e4354554a616959266272616e63683d6d6173746572)](https://travis-ci.com/trainjunkies-packages/darwin-webservice)

PHP package to consume National Rail OpenLDBSV Web Service

Installation
------------

[](#installation)

### via Composer

[](#via-composer)

Install [Composer](https://getcomposer.org/doc/00-intro.md) and require the package with the below command.

```
composer require trainjunkies-packages/darwin-webservice
```

Getting Started
---------------

[](#getting-started)

Signup to the OpenLDBSV Webservice [here](http://openldbsv.nationalrail.co.uk/self-signup/register) for an authorisation token.

See the `scripts` directory for example code.

Development
-----------

[](#development)

To use the [Docker](https://www.docker.com/get-started) environment, copy and complete the `.env.dist` to `.env` and start the Docker compose environment.

```
docker-compose up -d
docker-compose run --rm app sh
```

The `composer.json` file has been configured to execute the test suite.

```
composer ci

```

Authors
-------

[](#authors)

- **Ben McManus** - [bennoislost](https://github.com/bennoislost)

See also the list of [contributors](https://github.com/trainjunkies-packages/darwin-webservice/contributors) who participated in this project

License
-------

[](#license)

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details

Acknowledgments
---------------

[](#acknowledgments)

-
-

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity53

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2411d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8047af179450f635c711dac4045c51052d07104e7dc0b2a189613ef036814e04?d=identicon)[the-third-rail](/maintainers/the-third-rail)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/trainjunkies-packages-darwin-webservice/health.svg)

```
[![Health](https://phpackages.com/badges/trainjunkies-packages-darwin-webservice/health.svg)](https://phpackages.com/packages/trainjunkies-packages-darwin-webservice)
```

###  Alternatives

[cdiscount/sdkphpapi

PHP SDK for the Cdiscount Marketplace API

153.3k](/packages/cdiscount-sdkphpapi)

PHPackages © 2026

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