Skip to content

Commit

Permalink
Add support laravel 11
Browse files Browse the repository at this point in the history
  • Loading branch information
sadegh19b committed Mar 15, 2024
1 parent 31b5876 commit 589d537
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
}
],
"require": {
"php": "~7.4|| ^8",
"illuminate/support": "^6|^7|^8|^9|^10"
"php": "~7.4|^8.0|^8.1|^8.2",
"illuminate/support": "^6|^7|^8|^9|^10|^11"
},
"require-dev" : {
"phpunit/phpunit": "^8|^9|^10"
Expand Down
9 changes: 5 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Laravel Persian Validation Provides validation for Persian alphabet, number and

## Requirement

* Laravel 6, 7, 8, 9
* PHP 7.4 , 8
* Laravel 6, 7, 8, 9, 10, 11
* PHP 7.4 , 8, 8.1, 8.2

## Install

Expand All @@ -15,8 +15,9 @@ Via Composer
composer require sadegh19b/laravel-persian-validation
```

## vendor:publish
You can run vendor:publish command to have custom lang file of package on this path ( resources/lang/{locale}/persian-validation.php )
## Publishing Language Files
To publish the language files for custom validation messages, execute the following command. This will place the file at resources/lang/{locale}/persian-validation.php.

``` bash
php artisan vendor:publish --provider="Sadegh19b\LaravelPersianValidation\PersianValidationServiceProvider"
```
Expand Down

0 comments on commit 589d537

Please sign in to comment.