Skip to content

Commit

Permalink
Added Laravel 8 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Ackermann committed Sep 13, 2020
1 parent 0a494f5 commit 9eedbbd
Show file tree
Hide file tree
Showing 3 changed files with 2,755 additions and 1,627 deletions.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Laravel Microsoft Graph Mail

This package makes it easy to send emails from your personal, work or school account using Microsoft's Graph API,
allowing you to benefit from HTTP instead of SMTP with Laravel 7.x.
allowing you to benefit from HTTP instead of SMTP with Laravel.

_Tested with different company (Microsoft 365 Business) accounts_

Expand Down Expand Up @@ -35,6 +35,16 @@ Valid values for `tenant` are your tenant identifier (work & school accounts) or
**Note:** This package relies on [Laravel's Cache](https://laravel.com/docs/cache) interface for caching access tokens.
Make sure to configure it properly, too!

### Version

The latest version is only compatible with Laravel 8.x. Use an older version if you didn't upgrade to Laravel 8 yet:

| Package Version | Laravel Version |
|-----------------|-----------------|
| ^1.0 | 7.x |
| ^2.0 | 8.x |


### Getting the credentials

To get the necessary client ID and secret you'll need to register your application and grant it the required
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
"require": {
"php": ">=7.4",
"ext-json": "*",
"guzzlehttp/guzzle": "^6.5",
"illuminate/mail": "^7.0",
"illuminate/support": "^7.0"
"guzzlehttp/guzzle": "^7.0",
"illuminate/mail": "^8.0",
"illuminate/support": "^8.0"
},
"autoload": {
"psr-4": {
Expand All @@ -38,7 +38,7 @@
"require-dev": {
"phpunit/phpunit": "^9.1",
"mockery/mockery": "^1.3",
"orchestra/testbench": "^5.2"
"orchestra/testbench": "^6.0"
},
"scripts": {
"test": "phpunit",
Expand Down
Loading

0 comments on commit 9eedbbd

Please sign in to comment.