Skip to content

Commit b1c693a

Browse files
authored
Add support for Laravel 11.x and PHP 8.3 (#21)
* add support for laravel 11 * allow testbench v9 and phpunit v10 * update readme
1 parent 2e38986 commit b1c693a

File tree

4 files changed

+28
-13
lines changed

4 files changed

+28
-13
lines changed

.github/workflows/main.yml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,28 +18,36 @@ jobs:
1818
# Disable testing on windows for now...
1919
# os: [ubuntu-latest, windows-latest]
2020
os: [ubuntu-latest]
21-
php: [7.4, 8.0, 8.1, 8.2]
22-
laravel: [7.*, 8.*, 9.*, 10.*]
21+
php: [7.4, 8.0, 8.1, 8.2, 8.3]
22+
laravel: [7.*, 8.*, 9.*, 10.*, 11.*]
2323
#stability: [prefer-lowest, prefer-stable]
2424
stability: [prefer-stable]
2525
exclude:
26-
# Older versions of L7 doesn't support PHP 8
26+
# Older versions of L7 doesn't support PHP 8, 8.1, 8.2 or 8.3
2727
- laravel: 7.*
2828
php: 8
2929
stability: prefer-lowest
30-
# Laravel 7 doesn't support 8.1 or 8.2
3130
- laravel: 7.*
3231
php: 8.1
3332
- laravel: 7.*
34-
php: 8.2
33+
php: 8.2
34+
- laravel: 7.*
35+
php: 8.3
3536
# Laravel 9 doesn't support < PHP 8
3637
- laravel: 9.*
3738
php: 7.4
3839
# Laravel 10 doesn't support < PHP 8.1
3940
- laravel: 10.*
4041
php: 7.4
4142
- laravel: 10.*
42-
php: 8.0
43+
php: 8.0
44+
# Laravel 11 doesn't support < PHP 8.2
45+
- laravel: 11.*
46+
php: 7.4
47+
- laravel: 11.*
48+
php: 8.0
49+
- laravel: 11.*
50+
php: 8.1
4351

4452
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
4553

@@ -63,4 +71,4 @@ jobs:
6371
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
6472
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
6573
- name: Execute tests
66-
run: vendor/bin/phpunit
74+
run: vendor/bin/phpunit

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All notable changes will be documented in this file
44

5+
## 2.7.0 - 2024-03-07
6+
7+
Added support for Laravel 11.
8+
59
## 2.6.0 - 2023-08-06
610

711
`Illuminate\Notifications\Events\NotificationSent` event now receives the SendGrid Response object in the `$response` property.
@@ -21,7 +25,7 @@ All notable changes will be documented in this file
2125

2226
## 2.1.0 - 2022-08-12
2327

24-
- Added support for Sentry SDK v8
28+
- Added support for Sendgrid SDK v8
2529
- You can now enable sandbox mode while sending emails. (Thanks [@zbrody](https://github.com/swiftmade/laravel-sendgrid-notification-channel/pull/3))
2630

2731
## 2.0.0 - 2022-04-07

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)
33
[![Total Downloads](https://img.shields.io/packagist/dt/swiftmade/laravel-sendgrid-notification-channel.svg?style=flat-square)](https://packagist.org/packages/swiftmade/laravel-sendgrid-notification-channel)
44

5-
Allows you to send Laravel notifications using Sendgrid's [Dynamic Transactional Templates](https://docs.sendgrid.com/ui/sending-email/how-to-send-an-email-with-dynamic-transactional-templates) feature. Supports Laravel 7.x, 8.x, 9.x and 10.x.
5+
Allows you to send Laravel notifications using Sendgrid's [Dynamic Transactional Templates](https://docs.sendgrid.com/ui/sending-email/how-to-send-an-email-with-dynamic-transactional-templates) feature.
6+
7+
- Minimum Laravel version required: 7.x
8+
- Minimum PHP version required: 7.2
69

710
(For older versions of Laravel, install v1)
811

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@
1313
],
1414
"require": {
1515
"php": ">=7.2",
16-
"illuminate/notifications": "^7.0|^8.0|^9.0|^10.0",
17-
"illuminate/support": "^7.0|^8.0|^9.0|^10.0",
16+
"illuminate/notifications": "^7.0|^8.0|^9.0|^10.0|^11.0",
17+
"illuminate/support": "^7.0|^8.0|^9.0|^10.0|^11.0",
1818
"sendgrid/sendgrid": "^7.11|^8.0"
1919
},
2020
"require-dev": {
2121
"friendsofphp/php-cs-fixer": "^3.8",
2222
"mockery/mockery": "^1.5",
23-
"orchestra/testbench": "^5.0|^6.0|^7.0|^8.0",
24-
"phpunit/phpunit": "^8.4|^9.0"
23+
"orchestra/testbench": "^5.0|^6.0|^7.0|^8.0|^9.0",
24+
"phpunit/phpunit": "^8.4|^9.0|^10.0"
2525
},
2626
"autoload": {
2727
"psr-4": {

0 commit comments

Comments
 (0)