PHP code example of partfire / slack-bundle

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

    

partfire / slack-bundle example snippets


    new PartFire\SlackBundle\PartFireSlackBundle()
    
    $this->container->get('part_fire_slack_service')->sendMessage(
        "This is an example message",
        'some-channel-name',
        ':muscle:'
    );