third-rail-packages/schedule-validity

Determine which Network Rail schedule applies for a date

v1.0 2020-07-17 12:05 UTC

This package is auto-updated.

Last update: 2024-04-23 11:44:27 UTC


README

CI

BDD Scenarios to determine which Network Rail Schedule or Association UID is applicable on a given date.

Installation

via Composer

Install Composer and require the package with the below command.

composer.phar require third-rail-packages/schedule-validity

Getting Started

The intended purpose of this packages is to document with examples how Network Rail Schedule or Associations should be selected for a given date.

The package can be consumed as part of a project by implementing the \ThirdRailPackages\ScheduleValidity\Schedule interface. See the examples directory for a very basic implementation.

Development

The development environment and dependencies are managed with Docker. In the same directory as the checked out cloned repository, run the below command to start the Docker Compose environment.

docker-compose up -d --build

Login to the console container begin development.

docker-compose run --rm console sh

Install the Composer dependencies and execute the test suite.

composer.phar install
composer.phar ci

Authors

See also the list of contributors who participated in this project

License

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

Acknowledgments