PHP code example of mainlycode / health-bundle
1. Go to this page and download the library: Download mainlycode/health-bundle 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/ */
mainlycode / health-bundle example snippets
return [
/** your other bundles */
MainlyCode\HealthBundle\HealthBundle::class => ['all' => true],
];
// config/routes.php
use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator;
return function (RoutingConfigurator $routes) {
$routes->import('@HealthBundle/config/routing.yaml');
};