Skip to content

release: add Laravel 12 support - #20

Merged
Casmo merged 8 commits into
mainfrom
release/laravel-12
Dec 1, 2025
Merged

release: add Laravel 12 support#20
Casmo merged 8 commits into
mainfrom
release/laravel-12

Conversation

@Baspa

@Baspa Baspa commented Oct 8, 2025

Copy link
Copy Markdown
Contributor
  • Update PHP minimum version to 8.2
  • Add Laravel 12 to supported versions in composer.json
  • Update development dependencies for Laravel 12 compatibility:
    • nunomaduro/collision: ^8.0
    • orchestra/testbench: ^9.0
    • pestphp/pest: ^3.0
    • pestphp/pest-plugin-laravel: ^3.0
    • phpunit/phpunit: ^11.0
  • Update README.md to mention Laravel 12 support
  • Update CHANGELOG.md with Laravel 12 upgrade notes
  • Migrate PHPUnit configuration to v11 format

- Update PHP minimum version to 8.2
- Add Laravel 12 to supported versions in composer.json
- Update development dependencies for Laravel 12 compatibility:
  - nunomaduro/collision: ^8.0
  - orchestra/testbench: ^9.0
  - pestphp/pest: ^3.0
  - pestphp/pest-plugin-laravel: ^3.0
  - phpunit/phpunit: ^11.0
- Update README.md to mention Laravel 12 support
- Update CHANGELOG.md with Laravel 12 upgrade notes
- Migrate PHPUnit configuration to v11 format
@Baspa Baspa self-assigned this Oct 8, 2025
Baspa added 7 commits October 8, 2025 19:57
- Update run-tests.yml:
  - Add PHP 8.3 support
  - Add Laravel 11.* and 12.* to test matrix
  - Update testbench versions for Laravel 11/12 (9.*)
  - Update Carbon versions for Laravel 11/12 (^3.0)
- Update phpstan.yml:
  - Change PHP version from 8.1 to 8.2 to match minimum requirements
- Update testbench version from 9.* to 10.* for Laravel 12 compatibility
- orchestra/testbench v10.6.0 requires laravel/framework ^12.24.0
- This resolves the dependency conflict in the CI workflow
- Update Carbon version for Laravel 10 from ^2.63 to ^2.67 (latest v2.x)
- Replace nunomaduro/larastan with larastan/larastan ^3.0 for Laravel 12 support
- larastan/larastan v3.7.2 supports Laravel 11.44.2+ and Laravel 12.4.1+
- This resolves the dependency conflicts in the CI workflow
- Add phpstan/phpstan ^2.1 explicitly to require-dev
- Update phpstan/phpstan-deprecation-rules to ^2.0
- Update phpstan/phpstan-phpunit to ^2.0
- This resolves the PHPStan version conflict with larastan/larastan v3.x
- Larastan v3.x requires phpstan/phpstan ^2.1.28
- Remove orchestra/testbench from composer.json to avoid version conflicts
- Let workflow handle testbench versions for different Laravel versions
- Fix PHPStan configuration by removing deprecated checkMissingIterableValueType
- Add memory limit to PHPStan workflow (512M) to prevent crashes
- Add parallel process timeout to PHPStan configuration
- Update composer.lock with all dependency changes
@Casmo
Casmo merged commit 2ad9071 into main Dec 1, 2025
1 of 26 checks passed
@Casmo
Casmo deleted the release/laravel-12 branch December 1, 2025 10:55
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.

2 participants