nealerickson / laravel-loggr by nealerickson

Laravel wrapper for Loggr
21
0
2
Package Data
Maintainer Username: nealerickson
Maintainer Contact: neal@heedworks.com (Neal Erickson)
Package Create Date: 2014-02-15
Package Last Update: 2014-02-16
Language: PHP
License: MIT
Last Refreshed: 2024-04-16 15:03:09
Package Statistics
Total Downloads: 21
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

Installation

Update your composer.json file to include this package as a dependency

"heedworks/laravel-loggr": "dev-master"

Register the Loggr service provider by adding it to the providers array in the app/config/app.php file.

Heedworks\LaravelLoggr\LaravelLoggrServiceProvider

Alias the Loggr facade by adding it to the aliases array in the app/config/app.php file.

'aliases' => array(
	'Loggr' => 'Heedworks\LaravelLoggr\Facades\Loggr'
)

Configuration

Copy the config file into your project by running

php artisan config:publish heedworks/laravel-loggr

Edit the config file to include your Loggr logKey and apiKey.

Usage

Pulls in the Loggr PHP agent found here: http://github.com/nealerickson/loggr-php