Skip to content

Add Laravel 13 support - #1

Merged
PoloStyle07 merged 1 commit into
mainfrom
laravel-13-support
Sep 15, 2026
Merged

PoloStyle07 merged 1 commit into
mainfrom
laravel-13-support

Conversation

@PoloStyle07

Copy link
Copy Markdown
Contributor

Summary

Adds Laravel 13 support so the package isn't dropped when users upgrade.

  • composer.json: illuminate/console, illuminate/contracts and illuminate/support now allow ^13.0; orchestra/testbench allows ^11.0.
  • composer.lock: content hash refreshed only. Still pins the lowest stack (PHP 8.1 / Laravel 10), so local dev is unchanged.
  • Test fix: Laravel 13 ships Symfony Console 8, which removed 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.
  • CI: the workflow now runs a PHP × Laravel matrix (16 jobs). Previously every job ran composer install from the lock file, so only Laravel 10 was ever tested. Each job now removes the platform.php pin and installs its own Laravel/Testbench version.

Notes

  • CI passes --no-security-blocking to composer 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-fast is now false so 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:

Laravel Symfony Console Tests
10.50.3 6.4.46 72 passed
11.56.1 7.4.19 72 passed
12.69.2 7.4.19 72 passed
13.31.0 8.1.7 72 passed, Pint clean

Other PHP versions are covered by the CI matrix.

🤖 Generated with Claude Code

- 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>
@PoloStyle07 PoloStyle07 self-assigned this Sep 15, 2026
@PoloStyle07
PoloStyle07 merged commit de36e75 into main Sep 15, 2026
16 checks passed
@PoloStyle07
PoloStyle07 deleted the laravel-13-support branch September 15, 2026 14:01
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