2017 © Pedro Peláez
 

library newrelic-fuel

A simple new relic framework integration for FuelPHP

image

kevbaldwyn/newrelic-fuel

A simple new relic framework integration for FuelPHP

  • Wednesday, March 21, 2018
  • by kevbaldwyn
  • Repository
  • 1 Watchers
  • 0 Stars
  • 720 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 14 Versions
  • 21 % Grown

The README.md

newrelic-fuel

A simple new relic framework integration for FuelPHP, (*1)

Installation

With Composer, (*2)

"require": {
    ...
    "kevbaldwyn/newrelic-fuel":"0.*"
    ...
}

Composer Update:, (*3)

$ composer update kevbaldwyn/newrelic-fuel

Usage

To start logging transactions you simply need to add a call to register the event listener somewhere logical such as the end of the bootstrap.php file:, (*4)

KevBaldwyn\NewRelic\EventListener::register();

To use the page load time monitoring add the following 2 calls to your layout template:, (*5)

echo KevBaldwyn\NewRelic\View::start();
echo KevBaldwyn\NewRelic\View::end();

For example:, (*6)

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>Page Title</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <?php echo KevBaldwyn\NewRelic\View::start(); ?>

</head>
<body>

    ....

    <?php echo KevBaldwyn\NewRelic\View::end(); ?>
</body>
</html>

If you do not want to output the script tags then pass false to the View::start() and View::end():, (*7)

<?php echo KevBaldwyn\NewRelic\View::start(false); ?>
<?php echo KevBaldwyn\NewRelic\View::end(false); ?>

The Versions

21/03 2018

dev-master

9999999-dev

A simple new relic framework integration for FuelPHP

  Sources   Download

The Requires

 

The Development Requires

by Kevin Baldwyn

21/03 2018

0.3.7

0.3.7.0

A simple new relic framework integration for FuelPHP

  Sources   Download

The Requires

 

The Development Requires

by Kevin Baldwyn

17/12 2014

0.3.6

0.3.6.0

A simple new relic framework integration for FuelPHP

  Sources   Download

The Requires

 

The Development Requires

by Kevin Baldwyn

17/12 2014

0.3.5

0.3.5.0

A simple new relic framework integration for FuelPHP

  Sources   Download

The Requires

 

The Development Requires

by Kevin Baldwyn

16/12 2014

0.3.4

0.3.4.0

A simple new relic framework integration for FuelPHP

  Sources   Download

The Requires

 

The Development Requires

by Kevin Baldwyn

12/12 2014

0.3.3

0.3.3.0

A simple new relic framework integration for FuelPHP

  Sources   Download

The Requires

 

The Development Requires

by Kevin Baldwyn

11/12 2014

0.3.2

0.3.2.0

A simple new relic framework integration for FuelPHP

  Sources   Download

The Requires

 

The Development Requires

by Kevin Baldwyn

11/12 2014

0.3.1

0.3.1.0

A simple new relic framework integration for FuelPHP

  Sources   Download

The Requires

 

The Development Requires

by Kevin Baldwyn

11/12 2014

0.3

0.3.0.0

A simple new relic framework integration for FuelPHP

  Sources   Download

The Requires

 

The Development Requires

by Kevin Baldwyn

09/12 2014

0.2.01

0.2.01.0

A simple new relic framework integration for FuelPHP

  Sources   Download

The Requires

  • php >=5.3.3

 

by Kevin Baldwyn

09/12 2014

0.1.1

0.1.1.0

A simple new relic framework integration for FuelPHP

  Sources   Download

The Requires

  • php >=5.3.3

 

by Kevin Baldwyn

09/12 2014

0.2

0.2.0.0

A simple new relic framework integration for FuelPHP

  Sources   Download

The Requires

  • php >=5.3.3

 

by Kevin Baldwyn

09/12 2014

0.2.1

0.2.1.0

A simple new relic framework integration for FuelPHP

  Sources   Download

The Requires

  • php >=5.3.3

 

by Kevin Baldwyn

16/11 2014

0.1

0.1.0.0

A simple new relic framework integration for FuelPHP

  Sources   Download

The Requires

  • php >=5.3.3

 

by Kevin Baldwyn