This library provides a ping controller for the eLife Sciences applications.
- Composer
- PHP 7
composer require elife/ping
use eLife\Ping\Silex\PingControllerProvider;
$app->register(new PingControllerProvider());
Add eLife\Ping\Symfony\PingBundle
to your application's kernel.
Add to your routing file:
ping:
resource: '@PingBundle/Resources/config/routing.php'
vendor/bin/phpunit