exfriend/slack-notification-builder

Fluent notification builder for Laravel

1.1 2018-05-08 10:39 UTC

This package is auto-updated.

Last update: 2024-11-21 22:15:47 UTC


README

Fluent notification builder for Laravel

Installation on Laravel 5.5+

Install package:

composer require exfriend/slack-notification-builder

Publish configuration:

php artisan vendor:publish

Edit config/slack-notification-builder.php

Usage

    slack( '#payday' )
        ->from( 'Cashier' )
        ->image( 'http://icons.iconarchive.com/icons/webalys/kameleon.pics/512/Cashier-2-icon.png' )
        ->send( 'Testing this' );

Work in progress