Repository navigation
Add Laravel 13 support - #1
Merged
Merged
Conversation
- Allow illuminate/* ^13.0 and orchestra/testbench ^11.0 - Bind the test command via setApplication(), since Symfony Console 8 (Laravel 13) removed Application::add() - Test every supported PHP x Laravel combination in CI; previously every job installed the Laravel 10 lock file Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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.
Summary
Adds Laravel 13 support so the package isn't dropped when users upgrade.
illuminate/console,illuminate/contractsandilluminate/supportnow allow^13.0;orchestra/testbenchallows^11.0.Application::add(). The test now binds the command with$command->setApplication(), which works on Symfony 6–8. No changes to the package source were needed.composer installfrom the lock file, so only Laravel 10 was ever tested. Each job now removes theplatform.phppin and installs its own Laravel/Testbench version.Notes
--no-security-blockingtocomposer update. Laravel 10 and 11 are end-of-life with unpatched advisories, and Composer 2.10 won't install them otherwise. This only affects the test install, not users of the package.fail-fastis nowfalseso one failing version doesn't cancel the others.Testing
Ran locally on PHP 8.4, installing each version the way the new CI job does:
Other PHP versions are covered by the CI matrix.
🤖 Generated with Claude Code