Skip to content

Commit c14bafb

Browse files
marcrobertsatymic
andauthored
Add support for Laravel 9.x (#128)
Co-authored-by: atymic <[email protected]>
1 parent e1aef8b commit c14bafb

File tree

3 files changed

+26
-15
lines changed

3 files changed

+26
-15
lines changed

.github/workflows/php.yml

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,29 @@ jobs:
99
max-parallel: 15
1010
fail-fast: false
1111
matrix:
12-
laravel-version: ['5.8.*', '^6.0', '^7.0', '^8.0']
13-
php-versions: ['7.3', '7.4']
14-
name: PHP ${{ matrix.php-versions }} on Laravel ${{ matrix.laravel-version }}
12+
laravel-version: ['5.8.*', '^6.0', '^7.0', '^8.0', '^9.0']
13+
php-version: ['7.3', '7.4', '8.0', '8.1']
14+
exclude:
15+
- laravel-version: '5.8.*'
16+
php-version: '8.0'
17+
- laravel-version: '5.8.*'
18+
php-version: '8.1'
19+
- laravel-version: '^6.0'
20+
php-version: '8.1'
21+
- laravel-version: '^7.0'
22+
php-version: '8.1'
23+
- laravel-version: '^9.0'
24+
php-version: '7.3'
25+
- laravel-version: '^9.0'
26+
php-version: '7.4'
27+
name: PHP ${{ matrix.php-version }} on Laravel ${{ matrix.laravel-version }}
1528
steps:
1629
- name: Checkout
1730
uses: actions/checkout@master
1831
- name: Setup PHP
1932
uses: shivammathur/setup-php@master
2033
with:
21-
php-version: ${{ matrix.php-versions }}
34+
php-version: ${{ matrix.php-version }}
2235
extension-csv: mbstring, xdebug
2336
coverage: xdebug
2437
- name: Install dependencies
@@ -30,7 +43,4 @@ jobs:
3043
- name: Run Tests
3144
run: composer test:unit
3245
- name: Run Integration Tests
33-
if: matrix.laravel-version == '^7.0'
34-
run: |
35-
composer require --dev --no-interaction "orchestra/testbench:^5.1"
36-
composer test:integration
46+
run: composer test:integration

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/laravel-notification-channels/twilio/master.svg?style=flat-square)](https://scrutinizer-ci.com/g/laravel-notification-channels/twilio/?branch=master)
99
[![Total Downloads](https://img.shields.io/packagist/dt/laravel-notification-channels/twilio.svg?style=flat-square)](https://packagist.org/packages/laravel-notification-channels/twilio)
1010

11-
This package makes it easy to send [Twilio notifications](https://documentation.twilio.com/docs) with Laravel 5.5+, 6.x and 7.x
11+
This package makes it easy to send [Twilio notifications](https://documentation.twilio.com/docs) with Laravel 5.5+, 6.x, 7.x, 8.x & 9.x
1212

1313
You are viewing the `3.x` documentation. [Click here](https://github.com/laravel-notification-channels/twilio/tree/2.x) to view the `2.x` documentation.
1414

composer.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,17 @@
2222
}
2323
],
2424
"require": {
25-
"php": ">=7.2",
25+
"php": ">=7.2|^8.0",
2626
"twilio/sdk": "~6.0",
27-
"illuminate/notifications": "^5.8 || ^6.0 || ^7.0 || ^8.0",
28-
"illuminate/support": "^5.8 || ^6.0 || ^7.0 || ^8.0",
29-
"illuminate/events": "^5.8 || ^6.0 || ^7.0 || ^8.0",
30-
"illuminate/queue": "^5.8 || ^6.0 || ^7.0 || ^8.0"
27+
"illuminate/notifications": "^5.8 || ^6.0 || ^7.0 || ^8.0 || ^9.0",
28+
"illuminate/support": "^5.8 || ^6.0 || ^7.0 || ^8.0 || ^9.0",
29+
"illuminate/events": "^5.8 || ^6.0 || ^7.0 || ^8.0 || ^9.0",
30+
"illuminate/queue": "^5.8 || ^6.0 || ^7.0 || ^8.0 || ^9.0"
3131
},
3232
"require-dev": {
3333
"mockery/mockery": "^1.3",
34-
"phpunit/phpunit": "^8.5"
34+
"phpunit/phpunit": "^8.5|^9.5",
35+
"orchestra/testbench": "^3|^4|^5|^6|^7"
3536
},
3637
"autoload": {
3738
"psr-4": {

0 commit comments

Comments
 (0)