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
.gitkeep
files - Change
.gitignore
file to allow usingphpStorm
to develop this package - Use
Closure
route instead of theRuleController
class to makeRoute
become extendable withextend()
method - Use
ServiceProvider::mergeConfigFrom
method to load package configuration instead of loading config file manually - Import jQuery validation additional methods to asset
JS
file - Pass laravel
App
facade instances (e.g.$app['url']
,$app['translator']
,$app['encrypter']
,...) to converter classes
to removeHelper
class, 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::to
to correct routing path - Instance converter classes correctly with constructor of abstract
Converter
to use custom plugin - Get type of input correctly for
numeric
andfile
types - Parses laravel validation rule correctly for multi-parameters rules like:
between
,mimes
,unique
,... - Pass parameters correctly for
Route::convert()
method to makeRoute
extendable viaextend()
- Validation rule
alphanum
should be named asalpha_num
- Add
data-msg-accept
for validation ruleimage
- Fix validation rule
integer
withdata-rule-integer
instead ofdata-rule-number
- Rule
same
should bedata-rule-equalto=":input[name='other']"
instead of"input[name='other']"
alpha
andalpha_num
rules should not allow whitespace to make them compatible with laravelValidator
- Correct string format for
vsprintf()
from%1s,%2s
to%1$s,%2$s
- Get the raw attribute name not ending with
- Improvements:
- Allow custom namespace for custom
Converter
plugin - 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
remote
rules 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
,values
parameters, those are used bysame
,required_with
rules
- 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
ServiceProvider
one) - 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