Skip to content

Commit

Permalink
Add support for Laravel 11
Browse files Browse the repository at this point in the history
  • Loading branch information
mbabker committed Mar 7, 2024
1 parent 5170754 commit ccc5108
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,18 @@ jobs:
strategy:
fail-fast: true
matrix:
php: ['8.1', '8.2']
laravel: ['10.*']
php: ['8.1', '8.2', '8.3']
laravel: ['10.*', '11.*']
composer-flags: ['--prefer-stable']
can-fail: [false]
include:
- php: '8.1'
laravel: '10.*'
composer-flags: '--prefer-stable --prefer-lowest'
can-fail: false
exclude:
- php: '8.1'
laravel: '11.*'

name: "PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}${{ matrix.composer-flags != '' && format(' - Composer {0}', matrix.composer-flags) || '' }}"

Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
"keywords": ["laravel", "twilio"],
"require": {
"php": "^8.1",
"illuminate/http": "^10.0",
"illuminate/support": "^10.0",
"illuminate/http": "^10.0 || ^11.0",
"illuminate/support": "^10.0 || ^11.0",
"twilio/sdk": "^6.44 || ^7.0"
},
"require-dev": {
"guzzlehttp/guzzle": "^7.5",
"laravel/framework": "^10.0",
"orchestra/testbench": "^8.0",
"phpunit/phpunit": "^10.0"
"laravel/framework": "^10.0 || ^11.0",
"orchestra/testbench": "^8.0 || ^9.0",
"phpunit/phpunit": "^10.0 || ^11.0"
},
"suggest": {
"illuminate/notifications": "To use Laravel's notifications component with this package"
Expand Down

0 comments on commit ccc5108

Please sign in to comment.