Releases: bgultekin/laravalid
Releases · bgultekin/laravalid
Added sixth parameter for `FormBuilder::select`, required for Laravel 5.5
Release v1.3.2 for Laravel5 with full Travis integrated-tests
Fix Travis unit test issues for PHP 5.6 / hhvm
Compatibility issues fixes, unit-test updates
- Make source code compatible with PHP 5.4 / Laravel 5.0
- Use PHPUnit mock instead of Mockery
- Add more unit-tests to coverage all source code
Release v0.9.2 for Laravel4 with Travis unit-test successfull
Rename folder converter to title-case to make Travis unit-test work correctly
Compatibility issues fixes, unit-test updates
- Make source code compatible with PHP 5.3 / Laravel 4.0
- Use PHPUnit mock instead of Mockery
- Add more unit-tests to coverage all source code
Bulk improvements, bug fixes
- Remove needless
.gitkeepfiles - Change
.gitignorefile to allow usingphpStormto develop this package - Use
Closureroute instead of theRuleControllerclass to makeRoutebecome extendable withextend()method - Use
ServiceProvider::mergeConfigFrommethod to load package configuration instead of loading config file manually - Import jQuery validation additional methods to asset
JSfile - Pass laravel
Appfacade instances (e.g.$app['url'],$app['translator'],$app['encrypter'],...) to converter classes
to removeHelperclass, and we can customize message-method with our custom plugin - Fix all minor bugs:
- Get the raw attribute name not ending with
[]likefoo[][bar] - Get user friendly validation message with friendly attribute name like laravel
Validator - Using
URL::toto correct routing path - Instance converter classes correctly with constructor of abstract
Converterto use custom plugin - Get type of input correctly for
numericandfiletypes - Parses laravel validation rule correctly for multi-parameters rules like:
between,mimes,unique,... - Pass parameters correctly for
Route::convert()method to makeRouteextendable viaextend() - Validation rule
alphanumshould be named asalpha_num - Add
data-msg-acceptfor validation ruleimage - Fix validation rule
integerwithdata-rule-integerinstead ofdata-rule-number - Rule
sameshould bedata-rule-equalto=":input[name='other']"instead of"input[name='other']" alphaandalpha_numrules should not allow whitespace to make them compatible with laravelValidator- Correct string format for
vsprintf()from%1s,%2sto%1$s,%2$s
- Get the raw attribute name not ending with
- Improvements:
- Allow custom namespace for custom
Converterplugin - Allow HTML5 attributes to pass jQuery validation rules such as:
required,pattern,maxlength,min - Allow HTML5 input types to pass jQuery validation rules like:
<input type="url",<input type="email",... instead of attributedata-rule-*="true" - Only append validation message attribute
data-msg-*when validation rule exists - Allow multiple jQuery
remoterules such as:unique+active_url - Use jQuery validation message format like:
The field must be between {0} and {1}.,The field must be a date after {0}.,...
So, we can changedata-rule-*value at the client-side via JavaScript - No need to override method
FormBuilder::checkable()because it call toFormBuilder::input()method - Format validation message with custom attributes for
other,valuesparameters, those are used bysame,required_withrules
- Allow custom namespace for custom
- Support more laravel validation methods:
- different, before, after, mimes
- required_with, required_without
- active_url
- Implement unit-tests for this package classes (except
ServiceProviderone) - Update README document for those new improvements
- And some more refactors, improvements
by @nthachus
Compatibility to laravelcollective/html v5.4.8
Compatibility to laravelcollective/html v5.4.8
Laravel 5.4 compatibility
Laravel 5.4 compatibility
Release for unresolvable dependencies error
v1.1.2 Update for unresolvable dependencies - fix #30
Singleton usage for Laravel 5.2
Merge pull request #28 from phpspider/master Upgrading to Laravel 5.2 from Laravel 5.1