Skip to content

Commit d7f8c2f

Browse files
authored
Support for laravel 7.x (#4)
1 parent d62bb89 commit d7f8c2f

File tree

6 files changed

+27
-3527
lines changed

6 files changed

+27
-3527
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
build
2+
composer.lock
3+
docs
4+
vendor
5+
tests/temp

README.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,23 @@ Install the package
1010
composer install mondago/laravel-msgraph-mail
1111
```
1212

13-
Publish the configuration
14-
```bash
15-
php artisan vendor:publish
13+
Add the configuration to your mail.php config file:
14+
15+
```php
16+
'mailers' => [
17+
'microsoft-graph' => [
18+
'transport' => 'graph-api',
19+
'tenant' => env('GRAPH_API_TENANT'),
20+
'client' => env('GRAPH_API_CLIENT_ID'),
21+
'secret' => env('GRAPH_API_CLIENT_SECRET')
22+
]
23+
]
1624
```
1725

18-
Configure the environment
19-
20-
```env
21-
GRAPH_API_TENANT=
22-
GRAPH_API_CLIENT_ID=
23-
GRAPH_API_CLIENT_SECRET=
24-
```
2526

2627
## Support Matrix
2728

2829
| Our Version | Supported Laravel Version |
2930
|-------------|---------------------------|
30-
| 1.0.0 | 5.5.x |
31+
| 1.x.x | 5.5.x |
32+
| 2.x.x | 7.x |

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
}
2222
],
2323
"require": {
24-
"php": "^7.4",
25-
"guzzlehttp/guzzle": "^6.3",
26-
"laravel/framework": "5.5.*"
24+
"php": "^7.2.5|^8.0",
25+
"guzzlehttp/guzzle": "^6.3.1|^7.0.1",
26+
"laravel/framework": "^7.0"
2727
},
2828
"extra": {
2929
"laravel": {

0 commit comments

Comments
 (0)