Skip to content

Add Laravel 11.x, 12.x, 13.x and PHP 8.3/8.4 support#88

Merged
ousid merged 4 commits into
mainfrom
feat/add-laravel-11-12-13-support
Jun 19, 2026
Merged

Add Laravel 11.x, 12.x, 13.x and PHP 8.3/8.4 support#88
ousid merged 4 commits into
mainfrom
feat/add-laravel-11-12-13-support

Conversation

@ousid

@ousid ousid commented Jun 19, 2026

Copy link
Copy Markdown
Member

Summary

The require already declared illuminate/contracts ^13.0, but the dev dependencies and CI were stuck at Laravel 9/10 and PHP 8.1/8.2.

composer.json (require-dev)

  • orchestra/testbench: add ^9.0|^10.0|^11.0 (L11/L12/L13)
  • pestphp/pest: add ^2.0|^3.7
  • pestphp/pest-plugin-laravel: add ^2.0|^3.0
  • nunomaduro/collision: add ^8.0
  • nunomaduro/larastan: add ^3.0
  • phpstan/phpstan-deprecation-rules + phpstan/phpstan-phpunit: add ^2.0
  • phpunit/phpunit: add ^11.0

CI (run-tests.yml)

  • PHP matrix: [8.1, 8.2][8.1, 8.2, 8.3, 8.4]
  • Laravel matrix: [9.*, 10.*][9.*, 10.*, 11.*, 12.*, 13.*]
  • Adds carbon ">=3.8.4" on all rows (fixes Windows PowerShell stripping ^)
  • Drops prefer-lowest stability, upgrades actions/checkout to v6
  • Adds --no-coverage to prevent coverage warning from tripping failOnWarning=true

phpunit.xml.dist

  • Removes deprecated attributes: backupStaticAttributes, convertErrorsToExceptions, convertNoticesToExceptions, convertWarningsToExceptions, stopOnFailure, beStrictAboutOutputDuringTests, verbose

Oussama Sid and others added 4 commits June 19, 2026 14:49
- orchestra/testbench: add ^9.0|^10.0|^11.0 for L11/L12/L13
- pestphp/pest: add ^2.0|^3.7
- pest-plugin-laravel: add ^2.0|^3.0
- nunomaduro/collision: add ^8.0
- nunomaduro/larastan: add ^3.0
- phpstan rules/phpunit: add ^2.0
- phpunit/phpunit: add ^11.0
- CI: expand matrix to L9-L13, PHP 8.1-8.4, carbon ">=3.8.4", actions/checkout v6
- CI: drop prefer-lowest, add --no-coverage
- phpunit.xml.dist: remove deprecated PHPUnit 10+ attributes
Laravel 9 requires nesbot/carbon ^2.x; constraining to >=3.8.4
caused a dependency conflict. Use * for L9 which lets Composer
resolve the correct Carbon 2.x version.
Laravel 10 uses Carbon 2.x, so the '*' wildcard avoids the Carbon 3
conflict. pest-plugin-laravel is redundant; Pest.php already applies
uses(TestCase::class) from Orchestra Testbench.
@ousid ousid merged commit c88257d into main Jun 19, 2026
28 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