Skip to content

Releases: bgultekin/laravalid

Added sixth parameter for `FormBuilder::select`, required for Laravel 5.5

24 Feb 22:37
f632b1d
Compare
Choose a tag to compare
v1.3.3

Update README document for releases of branch Laravel4

Release v1.3.2 for Laravel5 with full Travis integrated-tests

24 Feb 20:27
898834e
Compare
Choose a tag to compare

Fix Travis unit test issues for PHP 5.6 / hhvm

Compatibility issues fixes, unit-test updates

24 Feb 10:04
9288c6c
Compare
Choose a tag to compare
  • 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

24 Feb 20:24
2bafbad
Compare
Choose a tag to compare

Rename folder converter to title-case to make Travis unit-test work correctly

Compatibility issues fixes, unit-test updates

24 Feb 10:02
0b33e18
Compare
Choose a tag to compare
  • 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

09 Jan 07:44
c8e66ec
Compare
Choose a tag to compare
  • Remove needless .gitkeep files
  • Change .gitignore file to allow using phpStorm to develop this package
  • Use Closure route instead of the RuleController class to make Route become extendable with extend() 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 remove Helper class, and we can customize message-method with our custom plugin
  • Fix all minor bugs:
    • Get the raw attribute name not ending with [] like foo[][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 and file types
    • Parses laravel validation rule correctly for multi-parameters rules like: between, mimes, unique,...
    • Pass parameters correctly for Route::convert() method to make Route extendable via extend()
    • Validation rule alphanum should be named as alpha_num
    • Add data-msg-accept for validation rule image
    • Fix validation rule integer with data-rule-integer instead of data-rule-number
    • Rule same should be data-rule-equalto=":input[name='other']" instead of "input[name='other']"
    • alpha and alpha_num rules should not allow whitespace to make them compatible with laravel Validator
    • Correct string format for vsprintf() from %1s,%2s to %1$s,%2$s
  • 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 attribute data-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 change data-rule-* value at the client-side via JavaScript
    • No need to override method FormBuilder::checkable() because it call to FormBuilder::input() method
    • Format validation message with custom attributes for other, values parameters, those are used by same, required_with rules
  • 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

12 Jun 15:07
Compare
Choose a tag to compare

Compatibility to laravelcollective/html v5.4.8

Laravel 5.4 compatibility

25 May 10:51
Compare
Choose a tag to compare

Laravel 5.4 compatibility

Release for unresolvable dependencies error

01 Jan 18:10
Compare
Choose a tag to compare
v1.1.2

Update for unresolvable dependencies - fix #30

Singleton usage for Laravel 5.2

24 Dec 14:33
Compare
Choose a tag to compare
Merge pull request #28 from phpspider/master

Upgrading to Laravel 5.2 from Laravel 5.1