From 33040179b64e2ea689dd041e67b3de82f6ec046f Mon Sep 17 00:00:00 2001 From: farhad zandmoghadam Date: Sun, 10 May 2026 13:16:49 +0330 Subject: [PATCH 1/2] Add Laravel 13 dependency support --- composer.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 16d7e28..a7209a6 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "iamfarhad/validation", - "description": "🇮🇷 Complete Laravel Persian validation package - Iranian national ID, mobile numbers, Shamsi dates, IBAN/Sheba, postal codes & more. Modern Laravel 10-12 support with both ValidationRule objects & string-based rules.", + "description": "🇮🇷 Complete Laravel Persian validation package - Iranian national ID, mobile numbers, Shamsi dates, IBAN/Sheba, postal codes & more. Modern Laravel 10-13 support with both ValidationRule objects & string-based rules.", "type": "library", "license": "MIT", "keywords": [ @@ -66,12 +66,12 @@ }, "require": { "php": "^8.1", - "illuminate/support": "^10.0|^11.0|^12.0", - "illuminate/validation": "^10.0|^11.0|^12.0" + "illuminate/support": "^10.0|^11.0|^12.0|^13.0", + "illuminate/validation": "^10.0|^11.0|^12.0|^13.0" }, "require-dev": { "phpunit/phpunit": "^10.0|^11.0|^12.0", - "orchestra/testbench": "^8.0|^9.0|^10.0", + "orchestra/testbench": "^8.0|^9.0|^10.0|^11.0", "mockery/mockery": "^1.0|^2.0", "phpstan/phpstan": "^1.10 || ^2.0", "laravel/pint": "^1.0" From 3026bbde6a9ea087319a6aece589863f691bc45c Mon Sep 17 00:00:00 2001 From: farhad zandmoghadam Date: Sun, 10 May 2026 13:17:40 +0330 Subject: [PATCH 2/2] Test against Laravel 13 --- .github/workflows/test.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0621202..706f3ad 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,13 +19,19 @@ jobs: fail-fast: false matrix: php: [ 8.1, 8.2, 8.3, 8.4 ] - laravel: [ 10.*, 11.*, 12.* ] + laravel: [ 10.*, 11.*, 12.*, 13.* ] exclude: - php: 8.1 laravel: 11.* - php: 8.1 laravel: 12.* + - php: 8.1 + laravel: 13.* + - php: 8.2 + laravel: 13.* include: + - laravel: 13.* + testbench: 11.* - laravel: 12.* testbench: 10.* - laravel: 11.*