diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7f93b3a..d590e7a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,9 +13,12 @@ jobs: strategy: fail-fast: false matrix: - php: [ "8.1", "8.0" ] - laravel: [ "^9.0" ] + php: [ "8.2", "8.1", "8.0" ] + laravel: [ "^9.0", "^10.0" ] dependency-version: [ prefer-lowest, prefer-stable ] + exclude: + - php: "8.0" + laravel: "^10.0" name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} diff --git a/composer.json b/composer.json index 95d95fa..2cc8808 100644 --- a/composer.json +++ b/composer.json @@ -20,13 +20,13 @@ } ], "require": { - "php" : "^8.0", - "illuminate/support": "^9", - "illuminate/database": "^9" + "php" : "^8.0|^8.1|^8.2", + "illuminate/support": "^9|^10.0", + "illuminate/database": "^9|^10.0" }, "require-dev": { "phpunit/phpunit": "^9.1", - "orchestra/testbench": "7.*", + "orchestra/testbench": "^7.22|^8.1", "pestphp/pest": "^1.21", "friendsofphp/php-cs-fixer": "^3.8" },