Skip to content

Commit fb7e2ce

Browse files
authored
Update README.md
1 parent e7d0981 commit fb7e2ce

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,20 @@ This package support localization and you can use it for most of the language. <
2929
| 1.7 | :x: | :x: | :x: | :white_check_mark: | :white_check_mark: |
3030

3131
# Installation
32-
You can install package with composer.
32+
You can install the package with Composer.
3333

3434
```bash
3535
composer require milwad/laravel-validate
3636
```
3737

3838
# Publish
39-
If you want to publish lang file for custom validation message you can run this command in terminal:
39+
If you want to publish a lang file for a custom validation message you can run this command in the terminal:
4040

4141
```shell
4242
php artisan vendor:publish --tag="validate-lang-{$lang}"
4343
```
4444

45-
You can replace `$lang` to your lang name, for ex:
45+
You can replace `$lang` with your lang name, for ex:
4646

4747
```shell
4848
php artisan vendor:publish --tag="validate-lang-en"
@@ -51,7 +51,7 @@ php artisan vendor:publish --tag="validate-lang-en"
5151
If you don't know about langs name you can go [Support Languages](#support-languages)
5252

5353
# Usage
54-
You can use `Laravel-Validate Rules` very simple.You can use `new` keyword before rule name.
54+
You can use `Laravel-Validate Rules` very simply. You can use the `new` keyword before the rule name.
5555

5656
```php
5757
use Milwad\LaravelValidate\Rules\ValidPhoneNumber;
@@ -108,8 +108,8 @@ return [
108108

109109
### ValidPattern
110110

111-
Sometimes you need to validate text with pattern, For example you want to validate a text like (4444-4444-4444).
112-
If you want to check the length of text is seperator after `-` is 4, You can use this Rule:
111+
Sometimes you need to validate text with a pattern, For example, you want to validate a text like (4444-4444-4444).
112+
If you want to check the length of the text is separate after `-` is 4, You can use this Rule:
113113

114114
```php
115115
use Milwad\LaravelValidate\Rules\ValidPattern;
@@ -121,7 +121,7 @@ return [
121121

122122
### ValidIban
123123

124-
Sometimes you need to validate Iban(International Bank Account Number) code.You can use `ValidIban` rule:
124+
Sometimes you need to validate Iban(International Bank Account Number) code. You can use the `ValidIban` rule:
125125

126126
```php
127127
use Milwad\LaravelValidate\Rules\ValidIban;
@@ -131,7 +131,7 @@ return [
131131
];
132132
```
133133

134-
Also, You can use `Country` class and add a list of countries to `ValidIban` rule. By doing this your IBAN must belong
134+
Also, You can use the `Country` class and add a list of countries to the `ValidIban` rule. By doing this your IBAN must belong
135135
to one of the countries you pass to the validation class:
136136

137137
```php

0 commit comments

Comments
 (0)