From 133980ee2ecf15d4a3b98acbceb6c3d24bdaf7c8 Mon Sep 17 00:00:00 2001 From: Quentin Renard Date: Tue, 13 Feb 2024 02:36:47 +0100 Subject: [PATCH] Add Laravel 11 support --- .github/workflows/run-tests.yml | 8 ++++++-- README.md | 1 + composer.json | 10 +++++----- docs/README.md | 1 + 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index a89e9a1..c108741 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -14,13 +14,17 @@ jobs: strategy: fail-fast: true matrix: - php: [8.0, 8.1] - laravel: [8.*, 9.*, 10.*] + php: [8.0, 8.1, 8.2] + laravel: [8.*, 9.*, 10.*, 11.*] dependency-version: [prefer-stable] os: [ubuntu-latest] exclude: - laravel: 10.* php: 8.0 + - laravel: 11.* + php: 8.0 + - laravel: 11.* + php: 8.1 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }} diff --git a/README.md b/README.md index ff36dd2..1e0733e 100644 --- a/README.md +++ b/README.md @@ -98,6 +98,7 @@ If you discover any security related issues, please check [SECURITY](https://git | Package | Laravel | PHP | |:--------------------|:------------------------------| :-------- | +| **v11.13 - v11.13** | `8.* / 9.* / 10.* / 11.*` | `^8.0` | | **v11.12 - v11.12** | `8.* / 9.* / 10.*` | `^8.0` | | **v11.10 - v11.11** | `8.* / 9.*` | `^8.0` | | **v11.6 - v11.9** | `5.8.* / 6.* / 7.* / 8.*` | `>=7.2` | diff --git a/composer.json b/composer.json index 6988335..c10156f 100644 --- a/composer.json +++ b/composer.json @@ -31,15 +31,15 @@ }, "require": { "php": "^8.0", - "illuminate/contracts": "^8.0 || ^9.0 || ^10.0", - "illuminate/database": "^8.0 || ^9.0 || ^10.0", - "illuminate/support": "^8.0 || ^9.0 || ^10.0" + "illuminate/contracts": "^8.0 || ^9.0 || ^10.0 || ^11.0", + "illuminate/database": "^8.0 || ^9.0 || ^10.0 || ^11.0", + "illuminate/support": "^8.0 || ^9.0 || ^10.0 || ^11.0" }, "require-dev": { "laravel/legacy-factories": "^1.0.4", "mockery/mockery": "^1.3.3", - "orchestra/testbench": "^6.0 || ^7.0 || ^8.0", - "phpunit/phpunit": "^9.0" + "orchestra/testbench": "^6.0 || ^7.0 || ^8.0 || ^9.0", + "phpunit/phpunit": "^9.0 || ^10.0 || ^11.0" }, "minimum-stability": "dev", "prefer-stable": true, diff --git a/docs/README.md b/docs/README.md index ae0ab60..d1bf915 100644 --- a/docs/README.md +++ b/docs/README.md @@ -75,6 +75,7 @@ echo $post->translate('fr')->title; // Mon premier post | Package | Laravel | PHP | |:--------------------|:------------------------------| :-------- | +| **v11.13 - v11.13** | `8.* / 9.* / 10.* / 11.*` | `^8.0` | | **v11.12 - v11.12** | `8.* / 9.* / 10.*` | `^8.0` | | **v11.10 - v11.11** | `8.* / 9.*` | `^8.0` | | **v11.6 - v11.9** | `5.8.* / 6.* / 7.* / 8.*` | `>=7.2` |