PHP code example of elife / ping
1. Go to this page and download the library: Download elife/ping library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
elife / ping example snippets
use eLife\Ping\Silex\PingControllerProvider;
$app->register(new PingControllerProvider());
yaml
ping:
resource: '@PingBundle/Resources/config/routing.php'