PHPackages                             harmonicdigital/ldbws - 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. harmonicdigital/ldbws

ActiveLibrary[API Development](/categories/api)

harmonicdigital/ldbws
=====================

An implementation to consume the Live Departure Board Web Service by National Rail

0.1.0(7mo ago)015MITPHPPHP ^8.3CI passing

Since Nov 15Pushed 7mo agoCompare

[ Source](https://github.com/Harmonic-Digital-Ltd/ldbws)[ Packagist](https://packagist.org/packages/harmonicdigital/ldbws)[ RSS](/packages/harmonicdigital-ldbws/feed)WikiDiscussions main Synced today

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

Live Departure Board Web Service (LDBWS) SDK
============================================

[](#live-departure-board-web-service-ldbws-sdk)

A lightweight PHP 8.3+ client for the National Rail UK Live Departure Board Web Service (LDBWS).

This library wraps the official REST endpoints exposed via Rail Data Marketplace and provides typed responses for station boards. It uses Guzzle under the hood and follows PSR-3 for logging.

- Package name: `harmonicdigital/ldbws`
- Minimum PHP: 8.3
- Transport: Guzzle (PSR-18 compatible via `guzzlehttp/guzzle`), PSR-3 logging

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

[](#installation)

Install via Composer:

```
composer require harmonicdigital/ldbws

```

You will need an API key for the Rail Data Marketplace (LDBWS). Supply it when constructing the client.

Features
--------

[](#features)

Currently implemented service methods in `HarmonicDigital\Ldbws\LdbwsClient`:

1. `getDepartureBoard()` — Fetch a basic departure board for a station.

Example:

```
