PHP code example of exfriend / slack-notification-builder
1. Go to this page and download the library: Download exfriend/slack-notification-builder library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
exfriend / slack-notification-builder example snippets
slack( '#payday' )
->from( 'Cashier' )
->image( 'http://icons.iconarchive.com/icons/webalys/kameleon.pics/512/Cashier-2-icon.png' )
->send( 'Testing this' );