PHP code example of anjalirana / newrelic-bundle
1. Go to this page and download the library: Download anjalirana/newrelic-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/ */
anjalirana / newrelic-bundle example snippets
// app/autoload.php
$loader->registerNamespaces(array(
// ...
'Ekino' => __DIR__.'/../vendor/bundles',
// ...
));
// in AppKernel::registerBundles()
$bundles = array(
// ...
new Ekino\Bundle\NewRelicBundle\EkinoNewRelicBundle(),
// ...
);
bash
$ php composer.phar
bash
$ php composer.phar update ekino/newrelic-bundle