fredbradley / snowmode by fredbradley

Add a Laravel Service Provider
Package Data
Maintainer Username: fredbradley
Maintainer Contact: (Fred Bradley)
Package Create Date: 2017-04-06
Package Last Update: 2017-05-08
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2019-05-13 03:19:15
Package Statistics
Total Downloads: 15
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 1
Total Forks: 0
Total Open Issues: 1

Install Instructions

Step One

Install this using Composer by adding the following to your shell.

composer require fredbradley/slacklogs

Or if you're the type of person that likes to edit the composer.json file directly, then add in:

"fredbradley/slacklogs": "^1.2.*"

Step Two

Add the Service Provider to you config/app.php. In config/app.php, at the bottom of the array group where it lists "Package Service Providers...", add in:


Remember to ensure there's no trailing comma at the end of the array, but that there is one on the line above!

Step Three

Publish the config: in your shell write:

php artisan vendor:publish --tag=slackconfig

Step Four

Edit your config, in the file config/slacklogs.php

  • webhook => the slack webhook you have set up at (More info here)
  • name => change this if you wish - it will be the name that slack posts as
  • channel_dev => The name of the channel you wish to post errors of your local environment to
  • channel_master => The name of the channel you wish to post errors of your production environment to