From 89dbffcbd35bca54ea33bd6590cdc50b04d26ea9 Mon Sep 17 00:00:00 2001 From: pataar Date: Fri, 19 Jun 2026 13:06:22 +0200 Subject: [PATCH 1/2] chore: drop Laravel 11 support 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 --- .github/workflows/tests.yml | 2 +- README.md | 4 ++-- composer.json | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 75c8d77..f503ff0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -20,7 +20,7 @@ jobs: fail-fast: false matrix: php-version: [8.3, 8.4, 8.5] - laravel-version: ["11.*", "12.*", "13.*"] + laravel-version: ["12.*", "13.*"] include: - php-version: 8.5 laravel-version: "13.*" diff --git a/README.md b/README.md index 7111187..44f00d1 100644 --- a/README.md +++ b/README.md @@ -13,13 +13,13 @@ A Laravel package to identify the visitor's browser, operating system, and devic ### Changes from the original -- PHP 8.3+ and Laravel 11–13 support (dropped older versions) +- PHP 8.3+ and Laravel 12–13 support (dropped older versions) - Removed `ua-parser/ua-parser` and `mobiledetect/mobiledetect` — detection is now powered by fewer, better-maintained libraries ## Requirements - PHP 8.3+ -- Laravel 11, 12, or 13 (or standalone without Laravel) +- Laravel 12 or 13 (or standalone without Laravel) ## Installation diff --git a/composer.json b/composer.json index f6b8948..3d0ea66 100644 --- a/composer.json +++ b/composer.json @@ -30,8 +30,8 @@ "matomo/device-detector": "^6.0" }, "require-dev": { - "phpunit/phpunit": "^9.0 || ^10.0 || ^11.0 || ^12.0 || ^13.0", - "orchestra/testbench": "^9.0 || ^10.0 || ^11.0", + "phpunit/phpunit": "^11.0 || ^12.0 || ^13.0", + "orchestra/testbench": "^10.0 || ^11.0", "phpstan/phpstan": "^2.1", "laravel/pint": "^1.29" }, From d1f7490782b47b02cbb0e3853b13e49d6ee62762 Mon Sep 17 00:00:00 2001 From: pataar Date: Fri, 19 Jun 2026 13:07:46 +0200 Subject: [PATCH 2/2] chore: bump dependency floors to latest releases 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 --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 3d0ea66..5546ea5 100644 --- a/composer.json +++ b/composer.json @@ -26,13 +26,13 @@ ], "require": { "php": "^8.3", - "jaybizzle/crawler-detect": "^1.2", - "matomo/device-detector": "^6.0" + "jaybizzle/crawler-detect": "^1.4", + "matomo/device-detector": "^6.5" }, "require-dev": { "phpunit/phpunit": "^11.0 || ^12.0 || ^13.0", "orchestra/testbench": "^10.0 || ^11.0", - "phpstan/phpstan": "^2.1", + "phpstan/phpstan": "^2.2", "laravel/pint": "^1.29" }, "autoload": {