rutorika/laravel-slack-alerts

72 3
Install
composer require rutorika/laravel-slack-alerts
Latest Version:0.5.0
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...

637,827,751 9,703
laravel/framework

The Laravel Framework.

584,532,650 34,931
laravel/tinker

Powerful REPL for the Laravel framework.

498,216,183 7,442
laravel/serializable-closure

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

413,412,504 609
nunomaduro/collision

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

391,429,217 4,660