From dce052973066e712711c6fc315a97fcca381505c Mon Sep 17 00:00:00 2001 From: yasin-04 <187621929+yasin-04@users.noreply.github.com> Date: Thu, 7 Nov 2024 13:37:31 +0000 Subject: [PATCH] Laravel 11 support (#22) --- .github/workflows/run-tests.yml | 6 ++++-- README.md | 2 +- composer.json | 10 +++++----- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 12f86bf..832a25d 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -8,13 +8,15 @@ jobs: strategy: fail-fast: true matrix: - php: [ 8.1, 8.2 ] - laravel: [ 9.*, 10.* ] + php: [ 8.2 ] + laravel: [ 9.*, 10.*, 11.* ] include: - laravel: 9.* testbench: 7.* - laravel: 10.* testbench: 8.* + - laravel: 11.* + testbench: 9.* name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} diff --git a/README.md b/README.md index 8fe13b2..897a1ed 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ This can be useful when wanting to store emails sent for archive purposes. You can install the package via composer: -For Laravel 9.x and 10.x +For Laravel 9.x, 10.x, 11.x (requires PHP version 8.2 or higher) ```bash composer require pod-point/laravel-mail-export diff --git a/composer.json b/composer.json index 44e23e3..6ff8502 100644 --- a/composer.json +++ b/composer.json @@ -11,14 +11,14 @@ } ], "require": { - "php": "^8.1", - "illuminate/filesystem": "^9.0|^10.0", - "illuminate/mail": "^9.0|^10.0", - "illuminate/support": "^9.0|^10.0", + "php": "^8.2", + "illuminate/filesystem": "^9.0|^10.0|^11.0", + "illuminate/mail": "^9.0|^10.0|^11.0", + "illuminate/support": "^9.0|^10.0|^11.0", "nesbot/carbon": "^2.0" }, "require-dev": { - "orchestra/testbench": "^7.0|^8.0" + "orchestra/testbench": "^7.0|^8.0|^9.0" }, "autoload": { "psr-4": {