|
9 | 9 |
|
10 | 10 |
|
11 | 11 | # Gmail |
12 | | -Gmail API for Laravel 9 and 10 |
| 12 | +Gmail API for Laravel 9 through 12 |
13 | 13 |
|
14 | 14 | You need to create an application in the [Google Console](https://console.developers.google.com/apis/credentials). Guidance [here](https://developers.google.com/gmail/api/quickstart/php#step_1_turn_on_the_api_name). |
15 | 15 |
|
16 | | -if you need **Laravel 5** compatibility please use version `2.0.x`. |
17 | | -if you need **Laravel 6** compatibility please use version `3.0.x`. |
18 | | -if you need **Laravel 7** compatibility please use version `4.0.x`. |
19 | | -if you need **Laravel 8** compatibility please use version `5.0.x`. |
20 | | - |
21 | 16 | # Requirements |
22 | 17 |
|
23 | | -* PHP ^8.0 |
24 | | -* Laravel 9 |
| 18 | +* PHP ^8.2 |
| 19 | +* Laravel 9-12 |
25 | 20 |
|
26 | 21 | # Installation |
27 | 22 |
|
@@ -53,31 +48,6 @@ Now add the alias. |
53 | 48 |
|
54 | 49 | For laravel >=5.5 that's all. This package supports Laravel new [Package Discovery](https://laravel.com/docs/5.5/packages#package-discovery). |
55 | 50 |
|
56 | | -For <= PHP 7.4 compatibility use version `v5.0` |
57 | | - |
58 | | -# Migration from 5.0 to 6.0 |
59 | | - |
60 | | -Requires Laravel 9 and you have to change the dependency to `"laravel/laravel": "^9.0"` |
61 | | -Please, follow [Upgrading To 9.0 From 8.x Guide](https://laravel.com/docs/9.x/upgrade) |
62 | | - |
63 | | -# Migration from 4.0 to 5.0 |
64 | | - |
65 | | -Requires Laravel 8 and you have to change the dependency to `"laravel/laravel": "^8.0"` |
66 | | -Please, follow [Upgrading To 8.0 From 7.x Guide](https://laravel.com/docs/8.x/upgrade) |
67 | | - |
68 | | -# Migration from 3.0 to 4.0 |
69 | | - |
70 | | -Requires Laravel 7 and you have to change the dependency to `"laravel/laravel": "^7.0"` |
71 | | -Please, follow [Upgrading To 7.0 From 6.x Guide](https://laravel.com/docs/7.x/upgrade) |
72 | | - |
73 | | -# Migration from 2.0 to 3.0 |
74 | | - |
75 | | -Requires Laravel 6 and you only have to change the dependency to `"laravel/laravel": "^6.0"` |
76 | | - |
77 | | -# Migration from 1.0 to 2.0 |
78 | | -The only changed made was the multi credentials feature. |
79 | | -- Change your composer.json from `"dacastro4/laravel-gmail": "^1.0"` to `"dacastro4/laravel-gmail": "^2.0"` |
80 | | - |
81 | 51 | I had to change version because of a typo and that might break apps calling those attributes. |
82 | 52 |
|
83 | 53 | All variable with the word "threat" was change to "thread" (yeah, I know.. sorry) |
|
91 | 61 |
|
92 | 62 | and so on. |
93 | 63 |
|
94 | | -# Migration from 0.6 to 1.0 |
95 | | -The only changed made was the multi credentials feature. |
96 | | -- Change your composer.json from `"dacastro4/laravel-gmail": "^0.6"` to `"dacastro4/laravel-gmail": "^1.0"` |
97 | | - |
98 | | -If you don't want the multi user credentials, you don't have to do anything else, if you do, you're going to have to |
99 | | -login again to create a new credentials file per user. |
100 | | - |
101 | | - |
102 | 64 | # Configuration |
103 | 65 |
|
104 | 66 | You only have to set the following variables on your `.env` file and you'll be on your way: |
|
0 commit comments