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: 2024-04-18 00:17:02 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());