Download the PHP package kmuenkel/validation-patch without Composer
On this page you can find all versions of the php package kmuenkel/validation-patch. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download kmuenkel/validation-patch
More information about kmuenkel/validation-patch
Files in kmuenkel/validation-patch
Download kmuenkel/validation-patch
More information about kmuenkel/validation-patch
Files in kmuenkel/validation-patch
Vendor kmuenkel
Package validation-patch
Short Description Correct for various issues in Laravel Validation
License MIT
Package validation-patch
Short Description Correct for various issues in Laravel Validation
License MIT
Please rate this library. Is it a good library?
Informations about the package validation-patch
Enhanced Validation
For all fixes, simply including ValidationPatch\ValidationPatchServiceProvider
in your app
config will allow them to take effect automatically.
Fixes
- Dots in field names: Laravel offers the ability to escape dots in field names so that they're not mistaken for dot-delimiters for nested arrays. However, this did not apply to field references within in rules such as
required_with
orexclude_unless
. This corrects for that. - Forward slashes in field names: Due to a parsing errors, field names that had forward slashes, such as URI claims, would cause an error. These are now supported.
required
only active if parent exists: If a nested array element carried an incarnation of therequired
rule, it would be executed even if the parent element were optional. With this package, nested requirements only fire if the parent exists.- Custom Rule Message Placeholders: Allow
Illuminate\Contracts\Validation\Rule::message()
output to be respected when aliased viaIlluminate\Support\Facades\Validator::extend()
. Also allow those messages to contain placeholders such as"attribute"
or":input"
.
All versions of validation-patch with dependencies
PHP Build Version
Package Version
Requires
illuminate/validation Version
^7.0|^8.0
The package kmuenkel/validation-patch contains the following files
Loading the files please wait ....