elife/ping

eLife Sciences ping controller

v1.3.0 2024-12-13 14:21 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