From ddcc82e1149c4720c0eaa02d171f50a1cdd1cb46 Mon Sep 17 00:00:00 2001 From: Mo Khosh Date: Wed, 21 Feb 2024 15:43:18 +0330 Subject: [PATCH] Add laravel 11 support (#493) * add laravel 11 support * update workflows for laravel 11 --- .github/workflows/run-tests.yml | 8 ++++++-- composer.json | 6 +++--- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 1608f4d..cf1a8fd 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -9,11 +9,13 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - php: [8.0, 8.1, 8.2] - laravel: [10.*, 9.*, 8.*] + php: [8.0, 8.1, 8.2, 8.3] + laravel: [11.*, 10.*, 9.*, 8.*] dependency-version: [prefer-lowest, prefer-stable] os: [ubuntu-latest] include: + - laravel: 11.* + testbench: 9.* - laravel: 10.* testbench: 8.* - laravel: 9.* @@ -21,6 +23,8 @@ jobs: - laravel: 8.* testbench: 6.* exclude: + - laravel: 11.* + php: [8.1, 8.0] - laravel: 10.* php: 8.0 diff --git a/composer.json b/composer.json index 2d60d4f..0dfb2f4 100644 --- a/composer.json +++ b/composer.json @@ -17,15 +17,15 @@ ], "require": { "php": "^8.0", - "laravel/framework": "^8.67|^9.0|^10.0", + "laravel/framework": "^8.67|^9.0|^10.0|^11.0", "nesbot/carbon": "^2.63", "spatie/eloquent-sortable": "^3.10|^4.0", "spatie/laravel-package-tools": "^1.4", "spatie/laravel-translatable": "^4.6|^5.0|^6.0" }, "require-dev": { - "orchestra/testbench": "^6.13|^7.0|^8.0", - "pestphp/pest": "^1.22", + "orchestra/testbench": "^6.13|^7.0|^8.0|^9.0", + "pestphp/pest": "^1.22|^2.0", "phpunit/phpunit": "^9.5.2" }, "autoload": {