Skip to content

Commit 2820cd8

Browse files
Update README.md
1 parent e9f1d64 commit 2820cd8

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ change it for your needs.
1212

1313
# Installation
1414

15-
```composer require devlop/secure-password-rule```
15+
```bash
16+
composer require devlop/secure-password-rule
17+
```
1618

1719
# Usage
1820

1921
Add it to the ```rules``` of a ```FormRequest```
2022

21-
```
22-
<?php
23-
23+
```php
2424
namespace App\Http\Requests;
2525

2626
use Devlop\SecurePasswordRule\SecurePasswordRule;
@@ -54,9 +54,7 @@ ending up with different password requirements in different parts of your system
5454
The recommended way is to create your own sub class of SecurePasswordRule and change the parameters you wish to change, and then
5555
reference that sub class instead in your FormRequests.
5656

57-
```
58-
<?php
59-
57+
```php
6058
namespace App\Rules;
6159

6260
use Devlop\SecurePasswordRule\SecurePasswordRule as BaseSecurePasswordRule;

0 commit comments

Comments
 (0)