rutorika/laravel-slack-alerts

72 3
Install
composer require rutorika/laravel-slack-alerts
Latest Version:0.5.0
Laravel:5
License:MIT
Last Updated:Jan 19, 2016
Links: GitHub  ·  Packagist
Maintainer: boxfrommars

Scrutinizer Code Quality

Rutorika Laravel Slack Alert Provider

Provides errors logging to the slack

Install

xu@calypso:~$ composer require rutorika/laravel-slack-alerts

Add service provider to config/app.php

'providers' => [
    // other providers...

    Rutorika\LaravelSlackAlert\SlackAlertServiceProvider::class,
]

Publish config

xu@calypso:~$ php artisan vendor:publish --provider="Rutorika\LaravelSlackAlert\SlackAlertServiceProvider"

Add enviroment variables to your .env file (see config/slack-alert.php for defaults)

SLACK_CHANNEL=#dev-alert
SLACK_TOKEN=xxxx-xxxxxxxxxx-xxxxxxxxxx-xxxxxxxxxxx-xxxxxxxxxx
SLACK_NAME="Site Name"
SLACK_MENTION_TO=@username

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

644,549,754 9,698
laravel/framework

The Laravel Framework.

598,760,099 34,966
laravel/tinker

Powerful REPL for the Laravel framework.

507,193,856 7,441
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

423,477,751 607
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

403,217,078 4,664

Version History

Version Released Laravel License
0.5.0 ~5.1 MIT