elife/ping

eLife Sciences ping controller

v1.0.0 2017-10-11 09:27 UTC

This package is auto-updated.

Last update: 2022-09-23 03:42:57 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