diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 531732b..492a05b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -15,8 +15,11 @@ jobs: fail-fast: false matrix: php-version: [ '8.1', '8.2', '8.3' ] - laravel-version: [ '^10.0' ] + laravel-version: [ '^10.0', '^11.0' ] database: [ 'sqlite', 'mysql', 'pgsql' ] + exclude: + - php-version: '8.1' + laravel-version: '^11.0' name: Tests on PHP ${{ matrix.php-version }} with Laravel ${{ matrix.laravel-version }} and ${{ matrix.database }} diff --git a/composer.json b/composer.json index daf30fb..6cd3b84 100644 --- a/composer.json +++ b/composer.json @@ -12,12 +12,12 @@ "require": { "php": "^8.0", "ext-json": "*", - "laravel/framework": "^10.0" + "laravel/framework": "^10.0|^11.0" }, "require-dev": { "guzzlehttp/guzzle": "^6.0|^7.0", - "orchestra/testbench": "^8.5", - "phpunit/phpunit": "^8.0|^9.0|^10.0" + "orchestra/testbench": "^8.5|^9.0", + "phpunit/phpunit": "^8.0|^9.0|^10.0|^11.0" }, "autoload": { "psr-4": {