Ask for PHP 8.5 and test one runtime
tests / feature (push) Successful in 1m55s
tests / browser (chrome, chromium) (push) Successful in 7m48s
tests / browser (firefox, firefox) (push) Successful in 11m57s
tests / browser (safari, webkit) (push) Successful in 12m44s

Nothing in the package needs a feature of either version: the floor sat
at 8.4 because that is where the scaffold put it, and Laravel 13 itself
asks only for 8.3. Two entries in the feature matrix bought a second run
of the same suite on a runtime the code cannot tell apart from the one
beside it.

2.3.0 asks for 8.5. The feature job loses its matrix and runs on 8.5
alone, so pint no longer needs the `if` that kept it from running twice;
the browser jobs were already pinned there. 2.2.0 stays available for an
application still on 8.4.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
surtic86
2026-09-20 21:41:03 +02:00
co-authored by Claude Opus 5
parent ebdc2ef2e1
commit a7aeb3c4ec
4 changed files with 9 additions and 9 deletions
+1 -7
View File
@@ -14,11 +14,6 @@ jobs:
feature:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: ['8.4', '8.5']
steps:
- name: Checkout code
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
@@ -28,7 +23,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2
with:
php-version: ${{ matrix.php }}
php-version: '8.5'
tools: composer:v2
coverage: none
@@ -45,7 +40,6 @@ jobs:
npm ci
- name: Check formatting
if: matrix.php == '8.5'
run: vendor/bin/pint --test
- name: Run feature tests
+1 -1
View File
@@ -12,7 +12,7 @@ No JavaScript libraries beyond the Alpine that ships with Livewire. Browsers: Ch
## Requirements
PHP 8.4+, Laravel 13, Livewire 4, Vite, and Node (for `material:scheme`).
PHP 8.5+, Laravel 13, Livewire 4, Vite, and Node (for `material:scheme`).
## Installation
+6
View File
@@ -1,5 +1,11 @@
# Upgrading
## From 2.2.0 to 2.3.0
- **PHP 8.5 is required.** Composer refuses to install the package on 8.4. Nothing in the package's
code needs 8.5 — 2.2.0 runs on 8.4 and stays available for an application still on it — but the
package is now built and tested against one runtime rather than two.
## From 2.1.0 to 2.2.0
- **Run `php artisan view:clear` after upgrading.** The components are no longer registered under a
+1 -1
View File
@@ -20,7 +20,7 @@
}
],
"require": {
"php": "^8.4",
"php": "^8.5",
"laravel/framework": "^13.0",
"livewire/livewire": "^4.0"
},