Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions validation.md
Original file line number Diff line number Diff line change
Expand Up @@ -1346,6 +1346,12 @@ The field under validation must have a size between the given _min_ and _max_ (i

The field under validation must be able to be cast as a boolean. Accepted input are `true`, `false`, `1`, `0`, `"1"`, and `"0"`.

You may use the `strict` parameter to only consider the field valid if its value is `true` or `false`:

```php
'foo' => 'boolean:strict'
```

<a name="rule-confirmed"></a>
#### confirmed

Expand Down