File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff 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
1921Add it to the ``` rules ``` of a ``` FormRequest ```
2022
21- ```
22- <?php
23-
23+ ``` php
2424namespace App\Http\Requests;
2525
2626use Devlop\SecurePasswordRule\SecurePasswordRule;
@@ -54,9 +54,7 @@ ending up with different password requirements in different parts of your system
5454The recommended way is to create your own sub class of SecurePasswordRule and change the parameters you wish to change, and then
5555reference that sub class instead in your FormRequests.
5656
57- ```
58- <?php
59-
57+ ``` php
6058namespace App\Rules;
6159
6260use Devlop\SecurePasswordRule\SecurePasswordRule as BaseSecurePasswordRule;
You can’t perform that action at this time.
0 commit comments