heedworks/laravel-loggr
Laravel wrapper for Loggr
21
| Install | |
|---|---|
composer require heedworks/laravel-loggr |
|
| PHP: | >=5.3.0 |
| License: | MIT |
| Last Updated: | Feb 16, 2014 |
| Links: | GitHub · Packagist |
Maintainer: nealerickson
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