Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 15 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,28 +18,36 @@ jobs:
# Disable testing on windows for now...
# os: [ubuntu-latest, windows-latest]
os: [ubuntu-latest]
php: [7.4, 8.0, 8.1, 8.2]
laravel: [7.*, 8.*, 9.*, 10.*]
php: [7.4, 8.0, 8.1, 8.2, 8.3]
laravel: [7.*, 8.*, 9.*, 10.*, 11.*]
#stability: [prefer-lowest, prefer-stable]
stability: [prefer-stable]
exclude:
# Older versions of L7 doesn't support PHP 8
# Older versions of L7 doesn't support PHP 8, 8.1, 8.2 or 8.3
- laravel: 7.*
php: 8
stability: prefer-lowest
# Laravel 7 doesn't support 8.1 or 8.2
- laravel: 7.*
php: 8.1
- laravel: 7.*
php: 8.2
php: 8.2
- laravel: 7.*
php: 8.3
# Laravel 9 doesn't support < PHP 8
- laravel: 9.*
php: 7.4
# Laravel 10 doesn't support < PHP 8.1
- laravel: 10.*
php: 7.4
- laravel: 10.*
php: 8.0
php: 8.0
# Laravel 11 doesn't support < PHP 8.2
- laravel: 11.*
php: 7.4
- laravel: 11.*
php: 8.0
- laravel: 11.*
php: 8.1

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

Expand All @@ -63,4 +71,4 @@ jobs:
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
- name: Execute tests
run: vendor/bin/phpunit
run: vendor/bin/phpunit
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes will be documented in this file

## 2.7.0 - 2024-03-07

Added support for Laravel 11.

## 2.6.0 - 2023-08-06

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

## 2.1.0 - 2022-08-12

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

## 2.0.0 - 2022-04-07
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)
[![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)

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

- Minimum Laravel version required: 7.x
- Minimum PHP version required: 7.2

(For older versions of Laravel, install v1)

Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
],
"require": {
"php": ">=7.2",
"illuminate/notifications": "^7.0|^8.0|^9.0|^10.0",
"illuminate/support": "^7.0|^8.0|^9.0|^10.0",
"illuminate/notifications": "^7.0|^8.0|^9.0|^10.0|^11.0",
"illuminate/support": "^7.0|^8.0|^9.0|^10.0|^11.0",
"sendgrid/sendgrid": "^7.11|^8.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.8",
"mockery/mockery": "^1.5",
"orchestra/testbench": "^5.0|^6.0|^7.0|^8.0",
"phpunit/phpunit": "^8.4|^9.0"
"orchestra/testbench": "^5.0|^6.0|^7.0|^8.0|^9.0",
"phpunit/phpunit": "^8.4|^9.0|^10.0"
},
"autoload": {
"psr-4": {
Expand Down