Add support php 8.4,8.5 and laravel 13.x#838
Open
chienle wants to merge 1 commit intoandersao:masterfrom
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Laravel 13 & PHP 8.4/8.5 Support
Overview
This change set extends
prettus/l5-repositoryto officially declare compatibility with Laravel 13 and PHP 8.4 / 8.5. All existing APIs, Contracts, and Eloquent behaviour remain fully backward-compatible back to Laravel 5 and PHP 7.1.Changed Files
1.
composer.json1.1 Package Description
descriptionLaravel 5|6|7|8|9|10|11|12 - Repositories to the database layerLaravel 5|6|7|8|9|10|11|12|13 - Repositories to the database layer (PHP 7.1 to 8.5)Changes:
(PHP 7.1 to 8.5)for immediate visibility on Packagist.to the→to the).1.2 PHP Version Constraint
Although the Composer semver constraint
^8.0already resolves to any8.xrelease (including 8.4 and 8.5), the explicit declarations serve two purposes:1.3 Illuminate Package Constraints
^13.0was appended to everyilluminate/*package in therequiresection:illuminate/http...|^12.0...|^12.0|^13.0illuminate/config...|^12.0...|^12.0|^13.0illuminate/support...|^12.0...|^12.0|^13.0illuminate/database...|^12.0...|^12.0|^13.0illuminate/pagination...|^12.0...|^12.0|^13.0illuminate/console...|^12.0...|^12.0|^13.0illuminate/filesystem...|^12.0...|^12.0|^13.0illuminate/validation...|^12.0...|^12.0|^13.0Compatibility Matrix (Post-Change)
Migration Notes
There are no API changes in this release. Existing repositories, criteria, presenters, validators, and cache implementations require zero modifications to run on Laravel 13 or PHP 8.4/8.5.
If you are upgrading a Laravel application to version 13, simply ensure your
composer.jsonrequires this package version and run:No Breaking Changes
RepositoryInterface)BaseRepositoryRequestCriteriabehaviourrepository.php)