Skip to content

Update package for PHP 8.5 and Laravel 13 compatibility #46

@thibautdeg

Description

@thibautdeg

Update package for PHP 8.5 and Laravel 13 compatibility

Context

This package needs to support PHP 8.5 and Laravel 13 alongside existing PHP 8.4 / Laravel 12 support.

Steps

1. Update composer.json

  • Keep the PHP constraint at ^8.4 (covers both 8.4 and 8.5)
  • Add Laravel 13 support to laravel/framework or illuminate/* constraints: ^12.0|^13.0
  • Update any other dependencies that require new versions for Laravel 13 compatibility
  • Run composer update and resolve dependency conflicts

2. Update GitHub Actions CI

Update the Actions to include PHP 8.5 and Laravel 13:

3. Fix PHP 8.5 deprecations and breaking changes

  • Review all usages of features deprecated in PHP 8.5
  • Fix any incompatibilities with PHP 8.5 language changes

4. Fix Laravel 13 breaking changes

  • Review the Laravel 13 upgrade guide: https://laravel.com/docs/13.x/upgrade
  • Update any usage of removed or changed Laravel APIs
  • Check for namespace changes, removed facades, or changed method signatures

6. Run the test suite

  • Ensure all tests pass on both PHP 8.4 + Laravel 12 and PHP 8.5 + Laravel 13
  • Fix any failing tests

7. Run code style fixer

  • Run vendor/bin/pint if available, otherwise vendor/bin/php-cs-fixer fix

Constraints

  • Do NOT remove PHP 8.4 / Laravel 12 support
  • This is a compatibility update only — do NOT change existing functionality
  • Do NOT refactor unrelated code or update code style of untouched files
  • Create a single PR with a clear description of what changed

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions