From 6909187877cbefcea8947a2d6e55c9b9b7a4623a Mon Sep 17 00:00:00 2001 From: Robin van Baalen Date: Tue, 25 Feb 2025 13:35:43 -0400 Subject: [PATCH 1/8] feat: add laravel 12 as supported version Signed-off-by: Robin van Baalen --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index eb541e2..0b594d5 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ ], "require": { "php": "^8.1", - "illuminate/support": "^10.0|^11.0" + "illuminate/support": "^10.0|^11.0|^12.0" }, "require-dev": { "orchestra/testbench": "^8.0|^9.0", From 3bed3e59f0bc702cbf0547abedeb201ae5bc0bbb Mon Sep 17 00:00:00 2001 From: Robin van Baalen Date: Tue, 25 Feb 2025 13:41:50 -0400 Subject: [PATCH 2/8] feat: add Laravel 12, php 8.4 and orchestra 10 support Signed-off-by: Robin van Baalen --- .github/workflows/run-tests.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 4554c07..da77122 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -8,8 +8,8 @@ jobs: strategy: fail-fast: true matrix: - php: [ 8.1, 8.2, 8.3 ] - laravel: [ 10.*, 11.* ] + php: [ 8.1, 8.2, 8.3, 8.4 ] + laravel: [ 10.*, 11.*, 12.* ] dependency-version: [ prefer-stable ] exclude: - laravel: 11.* @@ -19,15 +19,17 @@ jobs: testbench: 8.* - laravel: 11.* testbench: 9.* + - laravel: 12.* + testbench: 10.* name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Cache dependencies - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.composer/cache/files key: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }} From 4e34a8b1dabe6d1c2b8c71b16c5c0c5ce5e950a5 Mon Sep 17 00:00:00 2001 From: Robin van Baalen Date: Tue, 25 Feb 2025 13:42:03 -0400 Subject: [PATCH 3/8] fix: min supported php version is now 8.2 Signed-off-by: Robin van Baalen --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 0b594d5..4045924 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ } ], "require": { - "php": "^8.1", + "php": "^8.2", "illuminate/support": "^10.0|^11.0|^12.0" }, "require-dev": { From 0f701fb062ccbcf7e1953759fba3a0325662bb0f Mon Sep 17 00:00:00 2001 From: Robin van Baalen Date: Tue, 25 Feb 2025 13:42:17 -0400 Subject: [PATCH 4/8] docs: update supported Laravel version in README Signed-off-by: Robin van Baalen --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8323ead..57f3c9f 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Laravel URI Translator [![GitHub release](https://img.shields.io/github/release/codezero-be/laravel-uri-translator.svg?style=flat-square)](https://github.com/codezero-be/laravel-uri-translator/releases) -[![Laravel](https://img.shields.io/badge/laravel-11-red?style=flat-square&logo=laravel&logoColor=white)](https://laravel.com) +[![Laravel](https://img.shields.io/badge/laravel-12-red?style=flat-square&logo=laravel&logoColor=white)](https://laravel.com) [![License](https://img.shields.io/packagist/l/codezero/laravel-uri-translator.svg?style=flat-square)](LICENSE.md) [![Build Status](https://img.shields.io/github/actions/workflow/status/codezero-be/laravel-uri-translator/run-tests.yml?style=flat-square&logo=github&logoColor=white&label=tests)](https://github.com/codezero-be/laravel-uri-translator/actions) [![Code Coverage](https://img.shields.io/codacy/coverage/ad6fcea152b449d380a187a375d0f7d7/master?style=flat-square)](https://app.codacy.com/gh/codezero-be/laravel-uri-translator) From f528f0586726709f7f72b9af621a9e3d90f040ad Mon Sep 17 00:00:00 2001 From: Robin van Baalen Date: Tue, 25 Feb 2025 13:45:39 -0400 Subject: [PATCH 5/8] docs: updated min required php version Signed-off-by: Robin van Baalen --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 57f3c9f..0f00cad 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Parameters will not be translated by this macro. That remains the responsibility ## ✅ Requirements -- PHP >= 8.1 +- PHP >= 8.2 - Laravel >= 10.0 ## 📦 Install From 615cc4fdf8a7c9622fcd9865732808568cfad9ce Mon Sep 17 00:00:00 2001 From: Robin van Baalen Date: Tue, 25 Feb 2025 13:47:17 -0400 Subject: [PATCH 6/8] fix: support correct orchestra/testbench version Signed-off-by: Robin van Baalen --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 4045924..1259c8e 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "illuminate/support": "^10.0|^11.0|^12.0" }, "require-dev": { - "orchestra/testbench": "^8.0|^9.0", + "orchestra/testbench": "^8.0|^9.0|^10.0", "phpunit/phpunit": "^10.5" }, "scripts": { From 80662b7473e888657b4948cfd14a9a69db77045f Mon Sep 17 00:00:00 2001 From: Robin van Baalen Date: Tue, 25 Feb 2025 13:49:07 -0400 Subject: [PATCH 7/8] fix: update phpunit supported version Signed-off-by: Robin van Baalen --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 1259c8e..39122b9 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ }, "require-dev": { "orchestra/testbench": "^8.0|^9.0|^10.0", - "phpunit/phpunit": "^10.5" + "phpunit/phpunit": "^10.5|^11.5" }, "scripts": { "test": "phpunit" From d4a9e1407be23cd25fb23a5311c9a475e49642c4 Mon Sep 17 00:00:00 2001 From: Robin van Baalen Date: Tue, 25 Feb 2025 13:49:53 -0400 Subject: [PATCH 8/8] fix: keep php 8.1 support Signed-off-by: Robin van Baalen --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 39122b9..f172d20 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ } ], "require": { - "php": "^8.2", + "php": "^8.1", "illuminate/support": "^10.0|^11.0|^12.0" }, "require-dev": {