Security: update composer dependencies to patched versions#8
Merged
Conversation
added 4 commits
June 11, 2026 14:58
Resolves 12 composer security advisories: - Bump orchestra/testbench ^9.9 -> ^10.0, pulling laravel/framework v11.48 -> v12.62 (fixes CVE-2026-48019 CRLF injection in email rule; all Laravel 11.x is affected and past security EOL). - Patch Symfony components within 7.4.x to safe releases: http-foundation/http-kernel/mime/routing 7.4.13, mailer/yaml 7.4.12, polyfill-intl-idn 1.38.1 (CVE-2026-48736, -45075, -45068, -45070, -45067, -46644, -48784, -45065, -45304, -45305, -45133). composer audit now reports no advisories; 143 tests and phpstan pass.
Update the runtime constraint (composer.json php ^8.1 -> ^8.3), README requirement note, and both CI workflows (8.2 -> 8.3) so the supported PHP floor is consistent everywhere.
CI runs on PHP 8.3, but resolving on a newer local PHP pulled several Symfony components to v8.1 (which require PHP >=8.4.1), making the lock uninstallable in CI. Set config.platform.php = 8.3 and re-resolved, downgrading symfony/clock, css-selector, event-dispatcher, string, and translation back to 7.4.x. composer audit still clean; tests and phpstan pass.
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.
Summary
Resolves all 12 composer security advisories reported by
composer auditonmain(8 affected packages). After this changecomposer auditreports no advisories.Changes
orchestra/testbench^9.9→^10.0(dev dependency), which pullslaravel/frameworkv11.48 → v12.62.emailvalidation rule). Every Laravel 11.x release is affected and Laravel 11 is past its security-support EOL (March 2026); the fix only exists in 12.60+.Symfony components patched within the 7.4.x line (transitive, via
--with-all-dependencies):These are all dev/test dependencies of this library (the shipped package only requires
php).Verification
composer audit→ No security vulnerability advisories foundphpstan analyse→ No errorsNotes
vendor/composer/autoload_*.phpare updated because a small set of composer bootstrap files are tracked in this repo (consistent with prior dependency-update commits).orchestra/testbench); the library's runtimerequirestill declaresphp: ^8.1.