Package Data | |
---|---|
Maintainer Username: | intothesource |
Maintainer Contact: | rsmit@intothesource.com (Ramon Smit) |
Package Create Date: | 2016-05-24 |
Package Last Update: | 2017-01-04 |
Language: | PHP |
License: | BSD-2 |
Last Refreshed: | 2024-11-17 03:05:02 |
Package Statistics | |
---|---|
Total Downloads: | 78 |
Monthly Downloads: | 3 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 3 |
Total Forks: | 1 |
Total Open Issues: | 0 |
Laravel Powerlogger, logs errors to Slack
composer require intothesource/powerlogger
Add the following line to "config/app.php"
at "providers":
IntoTheSource\Powerlogger\PowerloggerServiceProvider::class,
Run the following command:
php artisan vendor:publish
Edit the config file: config/powerlogger.php
<?php
return [
'customer' => 'Customer Name', // Customer name eg. Into The Source
'domain' => 'test.dev', // FQDN eg intothesource.com
'slack' => 'AAA/BBB/123' // Slack key
];
Add the following line in the 'report' method in the file app\Exceptions\Handler.php
\IntoTheSource\Powerlogger\Handle::init($e);