Skip to content

Davillo/laravel-newrelic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Requirements

Usage

Installation

Run the following command to install the package through Composer:

composer require davillo/laravel-newrelic

Bootstrapping

This will ensure that exceptions are correctly reported to New Relic. Now, add the middleware too:

$app->middleware([
    ...
   Davillo\NewRelic\NewRelicMiddleware::class
]);

register the service provider:

  $app->register(Davillo\NewRelic\NewRelicServiceProvider::class);

ENV

finally, on the .env of the lumen/laravel app, register two new key-value variables NEWRELIC_APP_NAME='The name of the app on new relic dashboard' NEWRELIC_APP_LICENSE='new relic dashboard key'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages