Skip to content

Ping controller for the eLife Sciences applications

License

Notifications You must be signed in to change notification settings

elifesciences/ping-php

Repository files navigation

eLife Ping PHP

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