Skip to content

Support for multiple slack clients

Compare
Choose a tag to compare
@juzerali juzerali released this 15 Feb 08:15
· 22 commits to master since this release
14cdcfe

This major release allows configuring multiple slack clients. Now the default client configuration goes under defaults. Other clients goes into clients key. Look at below migration guide for more information.

Migrating to 2.0

Version 2.0 adds support for multiple slack clients. For migrating 1.X to 2.0, nest all the configuration properties inside defaults key in the configuration file. Configuration for additional clients can be specified in the clients property.

[
    'is_slack_enabled'  =>  true,
    'defaults'    =>  [
        // default slack client configuration.
    ],
    
    clients =>  [
        // Additional slack clients configuration
        'client1'   =>  [
            
        ]
    ]
]