rakit/validation
PHP Laravel like standalone validation library
v1.4.0
5.1M downloads/mo
#2608 most downloaded on Packagist
rakit/validation
What this package is like to depend on
Last release 6 years ago
no release in 18 months
Ships unpredictably
gaps range from 8 days to 13 months
Rarely documented
notes for 7 of 43 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
43 releases · first in 2016
0 releases in the last 12 months
see the full history below
Release timeline
43 releases · Nov 2016 to Aug 2020Releases
latest 43-
v1.4.027 Aug 2020Nothing published for this version
-
v1.3.209 Aug 2020Nothing published for this version
-
v1.3.130 Jul 2020 -
v1.3.023 Jul 2020Nothing published for this version
-
v1.2.010 Jul 2019 -
v1.1.121 Dec 2018 -
v1.1.014 Dec 2018 -
v1.0.102 Dec 2018 -
v1.0.029 Nov 2018Release notes
Open source →Changelogs
Added
- Rule
mimesto validate mime types from$_FILEdata. (3924708) - Method
Helper::jointo join array of string with given separator and last separator. (8e99f34) - Method
Helper::wrapsto wraps array of string with given prefix and suffix. (8e99f34) - Trait
Rakit\Validation\Traits\TranslationsTraitcontains setter and getter translations. (bb8c375) - Method
Rule::setParameterTextto set custom parameter text that can be used in invalid message. (550c6c4) - Method
Rule::getParametersTextsto get custom parameters texts. (550c6c4) - PHP_Codesniffer. (91ff927)
- Typehints and PHPDoc comments. (#67)
Changed
- PHP minimum version from 5.5 to 7.0. (#62)
- Rule
uploaded_filecan be used to validate multiple file uploads. (#71) Rakit\Validation\ErrorBag::firstOfAll()return array assoc instead of indexed array. (69b5110)Rakit\Validation\Rule::check()must returnbool. (#68)- Rules
min,max, andbetweencan be used to validate uploaded file size from$_FILES. (ae3a47b) - Rule
uploaded_filedefault message is dynamic depends on what caused. (0db9279) - Rule
inandnot_indefault messages shows what options are allowed or not allowed. (0db9279) - Rule
defaultusing traitRakit\Validation\Rules\Traits\ModifyValueto modify value if it's empty. (#71)
- Rule
-
v0.22.310 Nov 2018 -
v0.22.203 Nov 2018Nothing published for this version
-
v0.22.129 Oct 2018Nothing published for this version
-
v0.22.018 Sep 2018Nothing published for this version
-
v0.21.017 Sep 2018Nothing published for this version
-
v0.20.014 Sep 2018Nothing published for this version
-
v0.19.008 Sep 2018Nothing published for this version
-
v0.18.208 Sep 2018Nothing published for this version
-
v0.18.122 Aug 2018Nothing published for this version
-
v0.18.006 Aug 2018Nothing published for this version
-
v0.17.129 Jun 2018Nothing published for this version
-
v0.17.016 Jun 2018Nothing published for this version
-
v0.16.008 Jun 2018Nothing published for this version
-
v0.15.008 Jun 2018Nothing published for this version
-
v0.14.025 Jan 2018Nothing published for this version
-
v0.13.118 Oct 2017Nothing published for this version
-
v0.13.022 Sep 2017Nothing published for this version
-
v0.12.001 Apr 2017Nothing published for this version
-
v0.11.210 Feb 2017Nothing published for this version
-
v0.11.125 Dec 2016Nothing published for this version
-
v0.11.022 Dec 2016Nothing published for this version
-
v0.10.218 Dec 2016Nothing published for this version
-
v0.10.115 Dec 2016Nothing published for this version
-
v0.10.014 Dec 2016Nothing published for this version
-
v0.9.112 Dec 2016Nothing published for this version
-
v0.9.011 Dec 2016Nothing published for this version
-
v0.8.010 Dec 2016Nothing published for this version
-
v0.7.001 Dec 2016Nothing published for this version
-
v0.2.329 Nov 2016Nothing published for this version
-
v0.2.229 Nov 2016Nothing published for this version
-
v0.2.129 Nov 2016Nothing published for this version
-
v0.2.029 Nov 2016Nothing published for this version
-
v0.1.029 Nov 2016Nothing published for this version
-
v0.0.128 Nov 2016Nothing published for this version