Skip to content

Commit b2908df

Browse files
authored
Merge pull request #62 from milwad-dev/add-md-documention
[1.x] Add documentation
2 parents 6eaeac0 + 994e2c1 commit b2908df

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

docs/1.x/installation.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Requirements
2+
***
3+
- ```PHP >= 8.0```
4+
- ```Laravel >= 9.0```
5+
- ```Morilog-Jalali >= 3.x```
6+
7+
8+
| GitHub | L6 | L7 | L8 | L9 | L10 |
9+
|-----------|--------------------|--------------------|--------------------|--------------------|--------------------|
10+
| 1.5 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :x: |
11+
| 1.6 | :x: | :x: | :x: | :white_check_mark: | :white_check_mark: |
12+
| 1.7 | :x: | :x: | :x: | :white_check_mark: | :white_check_mark: |
13+
14+
# Installation
15+
You can install package with composer.
16+
17+
```bash
18+
composer require milwad/laravel-validate
19+
```
20+
21+
# Publish
22+
If you want to publish lang file for custom validation message you can run this command in terminal:
23+
24+
```shell
25+
php artisan vendor:publish --tag="validate-lang-{$lang}"
26+
```
27+
28+
You can replace `$lang` to your lang name, for ex:
29+
30+
```shell
31+
php artisan vendor:publish --tag="validate-lang-en"
32+
```
33+
34+
If you don't know about langs name you can go [Support Languages](#support-languages)

0 commit comments

Comments
 (0)