Skip to content

Commit 469e37d

Browse files
authored
Merge pull request #7 from JoshuaLicense/master
Co-authored-by: atymic <[email protected]>
2 parents d104a2c + f7f2492 commit 469e37d

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-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.

composer.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,12 @@
3737
},
3838
"config": {
3939
"sort-packages": true
40+
},
41+
"extra": {
42+
"laravel": {
43+
"providers": [
44+
"NotificationChannels\\MicrosoftTeams\\MicrosoftTeamsServiceProvider"
45+
]
46+
}
4047
}
4148
}

0 commit comments

Comments
 (0)