Skip to content

Simple laravel package that will allow you to send simple alerts to your slack channels.

Notifications You must be signed in to change notification settings

mrpaulphan/laravel-slack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Still in Development

Instaliastion

composer require mrpaulphan/laravel-slack

'providers' => [

MrPaulPhan\Slack\SlackServiceProvider::class,

]

'aliases' => [

'Slack' => MrPaulPhan\Slack\Facades\Alert::class,

]

Config

Run php artisan vendor:publish and go to config/slack.php and edit replace the values.

'webhook_url' => env('SLACK_WEBHOOK_URL'),
'channel' => env('SLACK_CHANNEL', '#general'),
'username' => env('SLACK_USERNAME', 'Laravel App'),
'icon' => env('SLACK_ICON', ':ghost:'),

Usage

Slack::alert('hey')

About

Simple laravel package that will allow you to send simple alerts to your slack channels.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages