Downloads
Stars
Version
For all fixes, simply including ValidationPatch\ValidationPatchServiceProvider
in your app
config will allow them to take effect automatically.
required_with
or exclude_unless
. This corrects for that.required
only active if parent exists: If a nested array element carried an incarnation of the required
rule, it would be executed even if the parent element were optional. With this package, nested requirements only fire if the parent exists.Illuminate\Contracts\Validation\Rule::message()
output to be respected when aliased via Illuminate\Support\Facades\Validator::extend()
. Also allow those messages to contain placeholders such as "attribute"
or ":input"
.