elife/ping

eLife Sciences ping controller

v1.2.0 2024-10-25 05:19 UTC

README

Build Status

This library provides a ping controller for the eLife Sciences applications.

Dependencies

Installation

composer require elife/ping

Set up

Silex

use eLife\Ping\Silex\PingControllerProvider;

$app->register(new PingControllerProvider());

Symfony

Add eLife\Ping\Symfony\PingBundle to your application's kernel.

Add to your routing file:

ping:
  resource: '@PingBundle/Resources/config/routing.php'

Running the tests

vendor/bin/phpunit