Skip to content

Commit f7f2492

Browse files
committed
Update README to note manual addition of service provider
1 parent d12bfd5 commit f7f2492

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,15 @@ You can install the package via composer:
4141
composer require laravel-notification-channels/microsoft-teams
4242
```
4343

44+
Next, if you're using Laravel _without_ auto-discovery, add the service provider to `config/app.php`:
45+
46+
```bash
47+
'providers' => [
48+
// ...
49+
NotificationChannels\MicrosoftTeams\MicrosoftTeamsServiceProvider::class,
50+
],
51+
```
52+
4453
### Setting up the Connector
4554

4655
Please check out [this](https://docs.microsoft.com/en-gb/microsoftteams/platform/webhooks-and-connectors/how-to/add-incoming-webhook#add-an-incoming-webhook-to-a-teams-channel) for setting up and adding a webhook connector to your Team's channel. Basic Markdown is supported, please also check out the [message card reference article](https://docs.microsoft.com/en-us/outlook/actionable-messages/message-card-reference#httppost-action) which goes in more detail about the do's and don'ts.

0 commit comments

Comments
 (0)