From 90026ffebd0a6f877c34d739e1d9ffdfa8bd5deb Mon Sep 17 00:00:00 2001 From: Wendell Adriel Date: Wed, 26 Feb 2025 13:55:15 +0000 Subject: [PATCH 1/2] Update README and test suite for Laravel 12 --- .github/workflows/tests.yml | 6 +++++- README.md | 4 ++-- composer.json | 6 +++--- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 635e1bb..4272d0d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,7 +9,7 @@ jobs: matrix: os: [ubuntu-latest] php: [8.3, 8.2, 8.1] - laravel: [9.*, 10.*, 11.*] + laravel: [9.*, 10.*, 11.*, 12.*] dependency-version: [prefer-stable] include: - laravel: 9.* @@ -18,9 +18,13 @@ jobs: testbench: 8.* - laravel: 11.* testbench: 9.* + - laravel: 12.* + testbench: 10.* exclude: - laravel: 11.* php: 8.1 + - laravel: 12.* + php: 8.1 name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - ${{ matrix.dependency-version }} diff --git a/README.md b/README.md index 7cad540..eeaab2d 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@

Packagist PHP from Packagist - Laravel Version + Laravel Version GitHub Workflow Status (main)

@@ -21,7 +21,7 @@ Imagine that now you want to do the same action that you do in an endpoint on a With this package you **define the validation once** and can **reuse it where you need**, making your application more **maintainable** and **decoupled**. -## Documentation +## Documentation [![Docs Button]][Docs Link] [![DocsRepo Button]][DocsRepo Link] ## Installation diff --git a/composer.json b/composer.json index 945f96d..7a93f86 100644 --- a/composer.json +++ b/composer.json @@ -38,10 +38,10 @@ "illuminate/validation": "^9.0|^10.0|^11.0|^12.0" }, "require-dev": { - "laravel/pint": "^1.14", + "laravel/pint": "^1.21", "orchestra/testbench": "^7.0|^8.0|^9.0|^10.0", - "pestphp/pest": "^1.20|^2.0", - "pestphp/pest-plugin-faker": "^1.0|^2.0" + "pestphp/pest": "^1.20|^2.0|^3.0", + "pestphp/pest-plugin-faker": "^1.0|^2.0|^3.0" }, "scripts": { "lint": "pint", From d06f21d769494fdf4ca2f79cd7fa56167685c934 Mon Sep 17 00:00:00 2001 From: Wendell Adriel Date: Wed, 26 Feb 2025 14:49:17 +0000 Subject: [PATCH 2/2] Removing old PHP and LAravel version support --- .github/workflows/tests.yml | 13 ++----------- README.md | 2 +- composer.json | 18 +++++++++--------- 3 files changed, 12 insertions(+), 21 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4272d0d..3137cbc 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,23 +8,14 @@ jobs: strategy: matrix: os: [ubuntu-latest] - php: [8.3, 8.2, 8.1] - laravel: [9.*, 10.*, 11.*, 12.*] + php: [8.4, 8.3, 8.2] + laravel: [11.*, 12.*] dependency-version: [prefer-stable] include: - - laravel: 9.* - testbench: 7.* - - laravel: 10.* - testbench: 8.* - laravel: 11.* testbench: 9.* - laravel: 12.* testbench: 10.* - exclude: - - laravel: 11.* - php: 8.1 - - laravel: 12.* - php: 8.1 name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - ${{ matrix.dependency-version }} diff --git a/README.md b/README.md index eeaab2d..6410b03 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@

Packagist PHP from Packagist - Laravel Version + Laravel Version GitHub Workflow Status (main)

diff --git a/composer.json b/composer.json index 7a93f86..8d8ecc6 100644 --- a/composer.json +++ b/composer.json @@ -30,18 +30,18 @@ } ], "require": { - "php": "^8.1", - "illuminate/console": "^9.0|^10.0|^11.0|^12.0", - "illuminate/database": "^9.0|^10.0|^11.0|^12.0", - "illuminate/http": "^9.0|^10.0|^11.0|^12.0", - "illuminate/support": "^9.0|^10.0|^11.0|^12.0", - "illuminate/validation": "^9.0|^10.0|^11.0|^12.0" + "php": "^8.2", + "illuminate/console": "^11.0|^12.0", + "illuminate/database": "^11.0|^12.0", + "illuminate/http": "^11.0|^12.0", + "illuminate/support": "^11.0|^12.0", + "illuminate/validation": "^11.0|^12.0" }, "require-dev": { "laravel/pint": "^1.21", - "orchestra/testbench": "^7.0|^8.0|^9.0|^10.0", - "pestphp/pest": "^1.20|^2.0|^3.0", - "pestphp/pest-plugin-faker": "^1.0|^2.0|^3.0" + "orchestra/testbench": "^9.0|^10.0", + "pestphp/pest": "^2.0|^3.0", + "pestphp/pest-plugin-faker": "^2.0|^3.0" }, "scripts": { "lint": "pint",