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') }} diff --git a/README.md b/README.md index 8323ead..0f00cad 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) @@ -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 diff --git a/composer.json b/composer.json index eb541e2..f172d20 100644 --- a/composer.json +++ b/composer.json @@ -21,11 +21,11 @@ ], "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", - "phpunit/phpunit": "^10.5" + "orchestra/testbench": "^8.0|^9.0|^10.0", + "phpunit/phpunit": "^10.5|^11.5" }, "scripts": { "test": "phpunit"