From 9584a99615b84a164a005094cc58abb828f1efcf Mon Sep 17 00:00:00 2001 From: Prasit Gebsaap Date: Thu, 28 Aug 2025 01:16:47 +0700 Subject: [PATCH 1/6] Add Laravel 12 support --- composer.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index fad9c90..1899a3f 100644 --- a/composer.json +++ b/composer.json @@ -17,15 +17,15 @@ ], "require": { "php": "^8.2", - "illuminate/contracts": "^10.0||^11.0", + "illuminate/contracts": "^10.0||^11||^12.0", "spatie/laravel-package-tools": "^1.16", - "zerodahero/laravel-workflow": "^6.0.0" + "zerodahero/laravel-workflow": "^6.2" }, "require-dev": { "laravel/pint": "^1.14", - "nunomaduro/collision": "^8.1.1||^7.10.0", - "orchestra/canvas": "^8.8||^9.1", - "orchestra/testbench": "^9.0.0||^8.22.0", + "nunomaduro/collision": "^7.10.0||^8.1.1||^8.3", + "orchestra/canvas": "^8.8||^9.1||^10.0", + "orchestra/testbench": "^8.22.0||^9.0.0||^10.0", "pestphp/pest": "^2.34", "pestphp/pest-plugin-arch": "^2.7", "pestphp/pest-plugin-laravel": "^2.3", From 1287822229e95961244724216360c69fb5e97a29 Mon Sep 17 00:00:00 2001 From: Prasit Gebsaap Date: Thu, 28 Aug 2025 01:21:37 +0700 Subject: [PATCH 2/6] Update Laravel versions in CI workflow --- .github/workflows/run-tests.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index f7144c1..9c1e165 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -11,6 +11,7 @@ on: - 'composer.lock' pull_request: branches: [ "main", "develop" ] + jobs: test: runs-on: ${{ matrix.os }} @@ -20,9 +21,12 @@ jobs: matrix: os: [ubuntu-latest] php: [8.3, 8.2] - laravel: [11.*, 10.*] + laravel: [12.*, 11.*, 10.*] stability: [prefer-stable] include: + - laravel: 12.* + testbench: 10.* + carbon: ^2.63 - laravel: 11.* testbench: 9.* carbon: ^2.63 From 6b18a397a7c612fee56225bbef9cb5b9ded9f6e8 Mon Sep 17 00:00:00 2001 From: Prasit Gebsaap Date: Thu, 28 Aug 2025 01:23:27 +0700 Subject: [PATCH 3/6] Update run-tests.yml --- .github/workflows/run-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 9c1e165..68b6a41 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -26,7 +26,7 @@ jobs: include: - laravel: 12.* testbench: 10.* - carbon: ^2.63 + carbon: ^3.8 - laravel: 11.* testbench: 9.* carbon: ^2.63 From 082a465007f4ad4ab088c583f75c0359d000aa03 Mon Sep 17 00:00:00 2001 From: Prasit Gebsaap Date: Thu, 28 Aug 2025 01:27:57 +0700 Subject: [PATCH 4/6] Update packages for Laravel 12 --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 1899a3f..07cde1b 100644 --- a/composer.json +++ b/composer.json @@ -26,9 +26,9 @@ "nunomaduro/collision": "^7.10.0||^8.1.1||^8.3", "orchestra/canvas": "^8.8||^9.1||^10.0", "orchestra/testbench": "^8.22.0||^9.0.0||^10.0", - "pestphp/pest": "^2.34", + "pestphp/pest": "^3.0", "pestphp/pest-plugin-arch": "^2.7", - "pestphp/pest-plugin-laravel": "^2.3", + "pestphp/pest-plugin-laravel": "^4.0.3", "phpstan/extension-installer": "^1.3", "phpstan/phpstan": "^1.0", "phpstan/phpstan-deprecation-rules": "^1.1", From 382709b9f9459358d066ac43b85c50fad7618232 Mon Sep 17 00:00:00 2001 From: Prasit Gebsaap Date: Thu, 28 Aug 2025 01:30:29 +0700 Subject: [PATCH 5/6] Update pest plugin version --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 07cde1b..abd8894 100644 --- a/composer.json +++ b/composer.json @@ -27,8 +27,8 @@ "orchestra/canvas": "^8.8||^9.1||^10.0", "orchestra/testbench": "^8.22.0||^9.0.0||^10.0", "pestphp/pest": "^3.0", - "pestphp/pest-plugin-arch": "^2.7", - "pestphp/pest-plugin-laravel": "^4.0.3", + "pestphp/pest-plugin-arch": "^2.7||^3.0", + "pestphp/pest-plugin-laravel": "^3.0", "phpstan/extension-installer": "^1.3", "phpstan/phpstan": "^1.0", "phpstan/phpstan-deprecation-rules": "^1.1", From 4ce7d710bdccaf6ed2f701685a87560c17f4b5ba Mon Sep 17 00:00:00 2001 From: Prasit Gebsaap Date: Thu, 28 Aug 2025 12:42:29 +0700 Subject: [PATCH 6/6] Update required development packages --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index abd8894..71e49f1 100644 --- a/composer.json +++ b/composer.json @@ -26,9 +26,9 @@ "nunomaduro/collision": "^7.10.0||^8.1.1||^8.3", "orchestra/canvas": "^8.8||^9.1||^10.0", "orchestra/testbench": "^8.22.0||^9.0.0||^10.0", - "pestphp/pest": "^3.0", + "pestphp/pest": "^2.4||^3.0", "pestphp/pest-plugin-arch": "^2.7||^3.0", - "pestphp/pest-plugin-laravel": "^3.0", + "pestphp/pest-plugin-laravel": "^2.0||^3.0", "phpstan/extension-installer": "^1.3", "phpstan/phpstan": "^1.0", "phpstan/phpstan-deprecation-rules": "^1.1",