Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
veeqtoh authored May 6, 2024
1 parent 2e64dc6 commit 556d2cb
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,12 @@ echo "Generated code: $code";
#### Validation

By default, the secure code is not validated against any condition. The library however, comes with three (3) inbuilt validation classes that checks for;
1. Palindrome
2. Repeated characters
3. Sequence length
1. Palindrome.
2. Repeated characters.
3. Sequence length.

These validation classes can be initialized and passed down to the code generator class in an array on it's constructor as shown below;

```php
use Veeqtoh\SecureCode\Classes\CodeGenerator;

Expand Down

0 comments on commit 556d2cb

Please sign in to comment.