PHP code example of tigran-cl / laravel-slack

1. Go to this page and download the library: Download tigran-cl/laravel-slack 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/ */

    

tigran-cl / laravel-slack example snippets


    'slack_webhook_urls' => [
        '#channel1' => env('CHANNEL1_WEBHOOK_URL'),
        '#channel2' => env('CHANNEL2_WEBHOOK_URL')
    ]
bash
php artisan vendor:publish --provider="Pressutto\LaravelSlack\ServiceProvider"