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 556d2cb commit 7d52003
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,11 @@
- [Publish the Config and Migrations](#publish-the-config-and-migrations)
- [Migrate the Database](#migrate-the-database)
- [Usage](#usage)
- [Generating Secure Codes](#denerating-secure-codess)
- [Generating Secure Codes](#generating-secure-codess)
- [Quick Start](#quick-start)
- [Validation](#validation)
- [Defining your Custom Validation Class](#defining-your-custom-validation-classs)
- [Defining your Custom Validation Class](#defining-your-custom-validation-class)
- [Customizing Configs](#customizing-configs)
- [Using Custom Rules](#using-custom-rules)
- [Facade](#facade)
- [Using the Secure code Manager](#using-the-secure-code-manager)
- [Allocating a Code](#allocating-a-code)
Expand Down Expand Up @@ -223,6 +222,15 @@ if ($success) {

```

#### Config Validation
By default, the values defined in the ``` secure-code.php ``` config file are validated as the library contains
a validator that is used to ensure that your values are safe to use. To disable the config validation, you can set the
following option in the config:

```
'validate_config' => false,
```

#### Custom Database Connection

By default, Secure code will use your application's default database connection. But there may be times that you'd like to use a different connection. For example, you might be building a multi-tenant application that uses a separate connection for each tenant, and you may want to store the Secure codes in a central database.
Expand Down

0 comments on commit 7d52003

Please sign in to comment.