From 93d4dc02e60ddd11e265e19645f8e3cd8eeb23ad Mon Sep 17 00:00:00 2001 From: oddvalue Date: Thu, 6 Jun 2024 12:31:02 +0100 Subject: [PATCH] Drop support for Laravel 9 & 10 * Drop support for Laravel 9 & 10 * Remove CI tests for unsupported laravel versions --- .github/workflows/phpstan.yml | 2 +- .github/workflows/run-tests.yml | 15 ++------------- README.md | 8 ++++++++ composer.json | 3 +-- 4 files changed, 12 insertions(+), 16 deletions(-) diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index 3855a08..d9306d6 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -16,7 +16,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.1' + php-version: '8.3' coverage: none - name: Install composer dependencies diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index e1e39a4..4937c0e 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -13,23 +13,12 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest] - php: [ 8.0,8.1,8.2,8.3 ] - laravel: [ 9.*,10.*,11.* ] + php: [ 8.2,8.3 ] + laravel: [ 11.* ] stability: [prefer-stable] include: - - laravel: 9.* - testbench: 7.* - - laravel: 10.* - testbench: 8.* - laravel: 11.* testbench: 9.* - exclude: - - php: 8.0 - laravel: 10.* - - php: 8.0 - laravel: 11.* - - php: 8.1 - laravel: 11.* name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} diff --git a/README.md b/README.md index 3c8b6cf..2e1ce8e 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,14 @@ * [Credits](#credits) * [License](#license) +## Version compatibility + +| Laravel | Drafts | +|---------|--------| +| v9.x | v1.x | +| v10.x | v1.x | +| v11.x | v2.x | + ## Installation You can install the package via composer: diff --git a/composer.json b/composer.json index bef7c45..9650dc0 100644 --- a/composer.json +++ b/composer.json @@ -18,8 +18,7 @@ ], "require": { "php": "^8.0", - "doctrine/dbal": "^3.3", - "illuminate/contracts": "^9.0|^10.0|^11.0", + "illuminate/contracts": "^11.0", "spatie/laravel-package-tools": "^1.9.2" }, "require-dev": {