diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8a483f6..e5e6552 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -15,9 +15,14 @@ jobs: strategy: fail-fast: true matrix: - php: [ 8.2, 8.3 ] - laravel: [ 11.* ] + php: [ 8.1, 8.2, 8.3 ] + laravel: [ 9.*, 10.*, 11.* ] dependency-version: [ prefer-stable ] + exclude: + - php: 8.3 + laravel: 9.* + - php: 8.1 + laravel: 11.* with: PHP_VERSION: ${{ matrix.php }} LARAVEL_VERSION: ${{ matrix.laravel }} diff --git a/composer.json b/composer.json index e548712..ebf8d6c 100644 --- a/composer.json +++ b/composer.json @@ -21,21 +21,21 @@ } ], "require": { - "php": "^8.2", + "php": "^8.1", "ext-curl": "*", "ext-json": "*", "ext-mbstring": "*", "ext-pdo": "*", "ext-sodium": "*", "guzzlehttp/guzzle": "^7.4", - "illuminate/support": "^11.0", - "laravel/framework": "^11.0", - "laravel/sanctum": "^4.0" + "illuminate/support": "^9.0|^10.0|^11.0", + "laravel/framework": "^9.0|^10.0|^11.0", + "laravel/sanctum": "^3.2|^4.0" }, "require-dev": { "laravel/sail": "^1.26", - "orchestra/testbench": "^9.0", - "phpunit/phpunit": "^10.5" + "orchestra/testbench": "^7.0|^8.0|^9.0", + "phpunit/phpunit": "^9.5|^10.5" }, "autoload": { "psr-4": {