Then create an incoming webhook for each Slack team you'd like to send messages to. You'll need the webhook URL(s) in order to configure this package.
Finally, publish the config file with php artisan vendor:publish. You'll find it at config/slack.php.
The config file comes with defaults and placeholders. Configure at least one team and any defaults you'd like to change.
// Send a message to the default channelSlack::send('Hello world!');// Send a message to a different channelSlack::to('#accounting')->send('Are we rich yet?');// Send a private messageSlack::to('@username')->send('psst!');