Skip to content

chore: drop Laravel 11 support - #21

Merged
pataar merged 2 commits into
mainfrom
chore/drop-laravel-11
Jun 19, 2026
Merged

chore: drop Laravel 11 support#21
pataar merged 2 commits into
mainfrom
chore/drop-laravel-11

Conversation

@pataar

@pataar pataar commented Jun 19, 2026

Copy link
Copy Markdown
Owner

Why

Laravel 11 reached end of security support. Every released 11.* version (v11.0.0v11.54.0) is now flagged by security advisories with no patched 11.x release available, so Composer (advisory blocking is on by default) refuses to install them. This breaks the 11.* cells of the test matrix:

Root composer.json requires laravel/framework 11.* … but these were not loaded, because they are affected by security advisories

The 12.* and 13.* cells are unaffected.

Changes

  • Remove 11.* from the test matrix (tests.yml)
  • Drop orchestra/testbench ^9.0 and phpunit ^9.0 || ^10.0 (the Laravel-11-era toolchain)
  • Update README requirements/changelog to Laravel 12–13

Notes

The package remains installable on Laravel 11 — composer.json never pinned laravel/framework. We simply no longer test against an EOL, unpatchable framework.

Verification

  • composer test → 81 tests, 204 assertions, OK
  • composer analyse → no errors
  • composer update → resolves with no security advisories

pataar added 2 commits June 19, 2026 13:06
Laravel 11 reached end of security support and all 11.x releases are now
flagged by security advisories with no patched version available, so
Composer refuses to install them and the 11.* CI matrix cells fail.

- Remove 11.* from the test matrix
- Drop testbench ^9.0 and phpunit ^9.0/^10.0 (L11-era toolchain)
- Update README requirements to Laravel 12-13
Raise minimum versions to current releases while keeping the wide
multi-major test ranges:
- jaybizzle/crawler-detect ^1.2 -> ^1.4
- matomo/device-detector ^6.0 -> ^6.5
- phpstan/phpstan ^2.1 -> ^2.2
@coveralls

coveralls commented Jun 19, 2026

Copy link
Copy Markdown

Coverage Status

coverage: 100.0%. remained the same — chore/drop-laravel-11 into main

@pataar
pataar enabled auto-merge (squash) June 19, 2026 11:08
@pataar
pataar disabled auto-merge June 19, 2026 12:14
@pataar
pataar merged commit 124ffb0 into main Jun 19, 2026
11 checks passed
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