Skip to content

Commit 93505bf

Browse files
authored
Add support for Livewire 4 (#18)
1 parent 44594fc commit 93505bf

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/tests.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ jobs:
1010
matrix:
1111
php: [8.2, 8.3, 8.4]
1212
laravel: [11.*, 12.*]
13+
livewire: [3.*, 4.*]
1314
os: [ubuntu-latest]
1415

15-
name: ${{ matrix.php }} - ${{ matrix.laravel }}
16+
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - Livewire ${{ matrix.livewire }}
1617

1718
runs-on: ${{ matrix.os }}
1819

@@ -29,6 +30,7 @@ jobs:
2930
- name: Install dependencies
3031
run: |
3132
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
33+
composer require "livewire/livewire:${{ matrix.livewire }}" --no-interaction --no-update
3234
composer install --no-interaction
3335
3436
- name: Run PHPUnit

composer.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
"require": {
3737
"php": "^8.2",
3838
"laravel/framework": "^11.0 || ^12.0",
39-
"statamic/cms": "^5.17.0",
40-
"livewire/livewire": "^3.6.4"
39+
"statamic/cms": "^5.17.0 || ^6.0",
40+
"livewire/livewire": "^3.6.4 || ^4.0"
4141
},
4242
"extra": {
4343
"statamic": {
@@ -60,5 +60,7 @@
6060
"orchestra/testbench": "^9.0 || ^10.0",
6161
"phpunit/phpunit": "^10.5|^11.0",
6262
"spatie/laravel-ray": "^1.0"
63-
}
63+
},
64+
"minimum-stability": "dev",
65+
"prefer-stable": true
6466
}

0 commit comments

Comments
 (0)