diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 42566e1..facfbb3 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -2,12 +2,21 @@ name: run-tests on: push: + branches: [main] paths: - "**.php" - ".github/workflows/run-tests.yml" - "phpunit.xml.dist" - "composer.json" - "composer.lock" + pull_request: + paths: + - "**.php" + - ".github/workflows/run-tests.yml" + - "phpunit.xml.dist" + - "composer.json" + - "composer.lock" + workflow_dispatch: concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -21,7 +30,7 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest, windows-latest] - php: [8.4] + php: [8.3, 8.4, 8.5] laravel: [12.*] stability: [prefer-lowest, prefer-stable] diff --git a/composer.json b/composer.json index ce86bca..d1d94fe 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ } ], "require": { - "php": "^8.4", + "php": "^8.3", "illuminate/contracts": "^12.0", "intervention/image-laravel": "^1.5", "spatie/laravel-package-tools": "^1.16" diff --git a/docs/pages/installation.md b/docs/pages/installation.md index d362bae..f12d666 100644 --- a/docs/pages/installation.md +++ b/docs/pages/installation.md @@ -2,7 +2,7 @@ ## Requirements -- PHP \>= 8.4 +- PHP \>= 8.3 - Laravel 12.x - [GD](https://www.php.net/manual/en/book.image.php) or [Imagick](https://www.php.net/manual/en/book.imagick.php) PHP extension installed and [enabled](#driver-configuration)