Skip to content

feat: add Laravel 13 support - #1

Merged
lionslair merged 1 commit into
mainfrom
feature/laravel-13-support
Jul 24, 2026
Merged

lionslair merged 1 commit into
mainfrom
feature/laravel-13-support

Conversation

@lionslair

Copy link
Copy Markdown
Contributor

Summary

  • Adds ^13.12 to the laravel/framework constraint (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.0 range is untouched - no compatibility impact for consumers on older Laravel versions.
  • Bumps dev-only tooling (testbench, larastan, phpstan rule packages, composer-normalize) to versions that support Laravel 13 / PHPStan 2 / PHP 8.5. These are require-dev only, so they don't affect anyone installing this package.
  • Removes a dead autoload-dev PSR-4 entry pointing at a tests/ directory that's never existed - it was breaking composer install on newer Composer versions independent of Laravel version.

Why

elaa consumes this via dev-main@dev and is upgrading to Laravel 13.

Test plan

  • composer update --with-all-dependencies resolves cleanly against laravel/framework 13.21.1
  • vendor/bin/phpstan analyse - no errors
  • vendor/bin/pint --test - passes
  • No automated test suite exists in this package to run beyond the above

🤖 Generated with Claude Code

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>
@lionslair lionslair self-assigned this Jul 24, 2026
@lionslair
lionslair merged commit 934c319 into main Jul 24, 2026
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant