Drop Laravel 10/11 support, pin GitHub Actions to SHAs, add Dependabot - #2
Open
Orrison wants to merge 1 commit into
Open
Conversation
Laravel 10 and 11 are end of life and no longer receive security fixes. composer.json now requires Laravel 12 or 13 and PHP 8.3+, with the dev-* branch aliases removed and minimum-stability set to stable. The internachi/modular dev dependency is pinned to ^3.0 so stable Laravel 13 resolves. Because modular 3 requires modularize ^1.1, a dev-main => 1.x-dev branch alias is added so this package satisfies that constraint during development and in CI. The PHPUnit matrix now covers Laravel 12/13 on PHP 8.3/8.4/8.5. All GitHub Actions are referenced by commit SHA with a version comment, and a Dependabot config keeps those pins current.
Orrison
force-pushed
the
chore/drop-L11-support-and-improve-security-and-updates
branch
from
September 7, 2026 19:01
981cac8 to
45af4f4
Compare
Orrison
marked this pull request as ready for review
September 7, 2026 19:04
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 10 and 11 are end-of-life and no longer receive security fixes, so this drops them and tightens the CI and dependency setup to match what was done in modular-livewire (#4 and #6 there).
Laravel support
illuminate/supportis now^12|^13andphpis>=8.3(Laravel 13 and modular 3 both already require PHP 8.3).orchestra/testbenchis^10.1|^11.0andphpunit/phpunitis^11.5|^12.5|^13.0.dev-main/dev-master/12.x-devaliases are removed andminimum-stabilityisstable.Note on
internachi/modularWith
minimum-stability: stable, the previousinternachi/modular: "*"dev requirement resolved to modular 2.3.0, which only allows Laravel 13 as13.x-dev. That meant the Laravel 13 leg could not resolve. It is now pinned to^3.0.Modular 3 in turn requires
internachi/modularize ^1.1, and this repository identifies to Composer asdev-main, which does not satisfy that. Adev-main => 1.x-devbranch alias is added underextraso the root package satisfies the constraint both locally and on the detached checkout CI uses. Once modular is updated to require modularize 2.x, that alias should move to2.x-devand the dev requirement to the matching modular version.GitHub Actions
uses:is pinned to the commit SHA of the action's latest release, with the version in a trailing comment so it stays readable. The SHAs were verified against each repository's release tags..github/dependabot.ymlenables weeklygithub-actionsupdates with a 7 day cooldown, so Dependabot keeps the SHAs and version comments current.Verification
Each matrix leg was resolved from scratch locally (no lock file, like CI) and the test suite passes on all of them:
composer validate --strictand the php-cs-fixer dry run both pass.Since this drops supported Laravel versions, the next release should probably be
2.0.0.internachi/modularcurrently requiresmodularize ^1.1, so a 2.0 release will not reach modular users until modular is updated to allow it.