feat: add Laravel 13 support - #1
Merged
Merged
Conversation
Widens the laravel/framework constraint to add ^13.12 (the security advisories affecting laravel/framework 13.0-13.11 mean composer refuses to install anything below 13.12 anyway). The existing ^8.0|^9.0|^10.0|^11.0|^12.0 range is unchanged, so this doesn't affect consumers on older Laravel versions. Bumps dev-only tooling (orchestra/testbench, larastan/larastan, the two phpstan/* rule packages, ergebnis/composer-normalize) to Laravel-13/PHPStan-2-compatible versions - these are require-dev only and don't affect published-package consumers, but note this package can no longer be locally dev-tested against Laravel 8-12 without widening them back. Also removes a dead autoload-dev PSR-4 entry pointing at a tests/ directory that has never existed in this repo - it was breaking `composer install` on newer Composer versions regardless of Laravel version. No source changes required - Larastan and Pint are clean against Laravel 13. This package has no automated test suite to run beyond static analysis. Co-Authored-By: Claude Sonnet 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
^13.12to thelaravel/frameworkconstraint (13.0-13.11 are blocked by security advisories, so composer won't resolve below 13.12 anyway). The existing^8.0|^9.0|^10.0|^11.0|^12.0range is untouched - no compatibility impact for consumers on older Laravel versions.require-devonly, so they don't affect anyone installing this package.autoload-devPSR-4 entry pointing at atests/directory that's never existed - it was breakingcomposer installon newer Composer versions independent of Laravel version.Why
elaaconsumes this viadev-main@devand is upgrading to Laravel 13.Test plan
composer update --with-all-dependenciesresolves cleanly againstlaravel/framework13.21.1vendor/bin/phpstan analyse- no errorsvendor/bin/pint --test- passes🤖 Generated with Claude Code