Skip to content

Commit

Permalink
Add support for Laravel 9.x (#128)
Browse files Browse the repository at this point in the history
Co-authored-by: atymic <[email protected]>
  • Loading branch information
marcroberts and atymic authored Feb 14, 2022
1 parent e1aef8b commit c14bafb
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 15 deletions.
26 changes: 18 additions & 8 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,29 @@ jobs:
max-parallel: 15
fail-fast: false
matrix:
laravel-version: ['5.8.*', '^6.0', '^7.0', '^8.0']
php-versions: ['7.3', '7.4']
name: PHP ${{ matrix.php-versions }} on Laravel ${{ matrix.laravel-version }}
laravel-version: ['5.8.*', '^6.0', '^7.0', '^8.0', '^9.0']
php-version: ['7.3', '7.4', '8.0', '8.1']
exclude:
- laravel-version: '5.8.*'
php-version: '8.0'
- laravel-version: '5.8.*'
php-version: '8.1'
- laravel-version: '^6.0'
php-version: '8.1'
- laravel-version: '^7.0'
php-version: '8.1'
- laravel-version: '^9.0'
php-version: '7.3'
- laravel-version: '^9.0'
php-version: '7.4'
name: PHP ${{ matrix.php-version }} on Laravel ${{ matrix.laravel-version }}
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup PHP
uses: shivammathur/setup-php@master
with:
php-version: ${{ matrix.php-versions }}
php-version: ${{ matrix.php-version }}
extension-csv: mbstring, xdebug
coverage: xdebug
- name: Install dependencies
Expand All @@ -30,7 +43,4 @@ jobs:
- name: Run Tests
run: composer test:unit
- name: Run Integration Tests
if: matrix.laravel-version == '^7.0'
run: |
composer require --dev --no-interaction "orchestra/testbench:^5.1"
composer test:integration
run: composer test:integration
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
[![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)
[![Total Downloads](https://img.shields.io/packagist/dt/laravel-notification-channels/twilio.svg?style=flat-square)](https://packagist.org/packages/laravel-notification-channels/twilio)

This package makes it easy to send [Twilio notifications](https://documentation.twilio.com/docs) with Laravel 5.5+, 6.x and 7.x
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

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.

Expand Down
13 changes: 7 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,17 @@
}
],
"require": {
"php": ">=7.2",
"php": ">=7.2|^8.0",
"twilio/sdk": "~6.0",
"illuminate/notifications": "^5.8 || ^6.0 || ^7.0 || ^8.0",
"illuminate/support": "^5.8 || ^6.0 || ^7.0 || ^8.0",
"illuminate/events": "^5.8 || ^6.0 || ^7.0 || ^8.0",
"illuminate/queue": "^5.8 || ^6.0 || ^7.0 || ^8.0"
"illuminate/notifications": "^5.8 || ^6.0 || ^7.0 || ^8.0 || ^9.0",
"illuminate/support": "^5.8 || ^6.0 || ^7.0 || ^8.0 || ^9.0",
"illuminate/events": "^5.8 || ^6.0 || ^7.0 || ^8.0 || ^9.0",
"illuminate/queue": "^5.8 || ^6.0 || ^7.0 || ^8.0 || ^9.0"
},
"require-dev": {
"mockery/mockery": "^1.3",
"phpunit/phpunit": "^8.5"
"phpunit/phpunit": "^8.5|^9.5",
"orchestra/testbench": "^3|^4|^5|^6|^7"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit c14bafb

Please sign in to comment.