Skip to content

Commit 0f1a06b

Browse files
authored
Merge pull request #60 from milwad-dev/milwad-dev-patch-1
[1.x] Update README.md
2 parents 9ad8892 + fb7e2ce commit 0f1a06b

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

README.md

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
[![Quality Score](https://img.shields.io/scrutinizer/g/milwad-dev/laravel-validate.svg?style=flat-square)](https://scrutinizer-ci.com/g/milwad-dev/laravel-validate)
1111

1212
***
13-
Laravel validate is a package for validate faster & easier. <br>
13+
Laravel validate is a package for validation faster & easier. <br>
1414
You can validate data easier, Laravel validate have lots of rule class for validation. <br>
15-
This package support localization and you can use for most of the language. <br>
15+
This package support localization and you can use it for most of the language. <br>
1616
(If some language didn't support, you can <a href="https://github.com/milwad-dev/laravel-validate/pulls">PR</a> for new language)
1717

1818
# Requirements
@@ -29,20 +29,20 @@ This package support localization and you can use for most of the language. <br>
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
@@ -182,3 +182,8 @@ This project exists thanks to all the people who contribute. [CONTRIBUTING](http
182182

183183
# Security
184184
If you've found a bug regarding security please mail [[email protected]](mailto:[email protected]) instead of using the issue tracker.
185+
186+
## Star History
187+
188+
[![Star History Chart](https://api.star-history.com/svg?repos=milwad-dev/laravel-validate&type=Date)](https://star-history.com/#milwad-dev/laravel-validate&Date)
189+

0 commit comments

Comments
 (0)