Add Laravel 13.x and PHP 8.4 support - #34
Merged
Merged
Conversation
- Extend illuminate/contracts to ^13.0 - Add orchestra/testbench ^11.0 for Laravel 13 - Add pestphp/pest ^4.4 and pest-plugin-arch ^4.0 - Add PHP 8.4 to require and CI matrix - Exclude PHP 8.2 on Laravel 13 in CI - Drop prefer-lowest stability from CI matrix - Upgrade actions/checkout to v6 - Remove parentheses from new TurnstileCheck instantiation
added 2 commits
June 18, 2026 18:53
phpunit.xml.dist: - Update schema from phpunit.de/10.0 to 11.0 (Pest 4.x uses PHPUnit 11+) - Remove stopOnFailure and beStrictAboutOutputDuringTests — removed attributes in PHPUnit 11 that triggered warnings, which combined with failOnWarning=true caused exit code 1 before any test ran run-tests.yml: - carbon: ^3.8 -> >=3.8.4 on all rows — PowerShell strips the caret, resolving to exact 3.8.0 which is blocked by a security advisory phpstan.yml: - PHP 8.1 -> 8.2 (composer.json now requires ^8.2) - actions/checkout@v3 -> @v6
The <coverage> block in phpunit.xml.dist causes PHPUnit to warn when no coverage driver is installed (coverage: none in CI). With failOnWarning=true this becomes exit code 1 before any test runs. --no-coverage suppresses it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this does
Extends the package to support Laravel 13.x and PHP 8.4 without dropping any existing compatibility.
Changes
composer.json— addilluminate/contracts ^13.0,orchestra/testbench ^11.0,pestphp/pest ^4.4,pest-plugin-arch ^4.0, and PHP^8.4to the require/require-dev constraints.github/workflows/run-tests.yml— add Laravel13.*to the test matrix (with testbench11.*), add PHP8.4, exclude PHP 8.2 on Laravel 13, dropprefer-loweststability (reduces noise with no real benefit), upgradeactions/checkouttov6, pin Carbon to^3.8tests/TurnstileTest.php—new TurnstileCheck()→new TurnstileCheck(style consistency)Notes
Supersedes PR #32 (Shift — "Laravel 13.x Compatibility"), which covered the same dependency bumps but missed PHP 8.4 and used the outdated
actions/checkout@v4. Recommend closing #32 in favour of this PR.No breaking changes. The core HTTP logic (
Illuminate\Support\Facades\Http) is fully compatible with Laravel 13.