heedworks / laravel-loggr
Laravel wrapper for Loggr
dev-master
2014-02-16 04:12 UTC
Requires
- php: >=5.3.0
- heedworks/loggr-php: *
Requires (Dev)
- illuminate/support: 4.1.*
This package is not auto-updated.
Last update: 2024-12-21 15:44:39 UTC
README
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