richardhughes/nationalrailconnector

A connector for the National Rail Push Port

0.2 2018-06-07 18:14 UTC

This package is auto-updated.

Last update: 2025-03-18 02:11:47 UTC


README

Simple connector to the National rail stomp queue. Will return the messages a decoded array for further PHP processing.

Example

$connector = new \NationalRail\Connector(
    'user',
    'password',
    'your-queue-name'
);
$connection = $connector->getConnection();

var_dump($connection->getMessage());