boekkooi/jquery-validation-bundle

Jquery form validation bundle for symfony 2

Installs: 73 003

Dependents: 1

Suggesters: 0

Security: 0

Stars: 27

Watchers: 8

Forks: 26

Open Issues: 8

Type:symfony-bundle

1.2.1 2016-10-16 14:57 UTC

This package is not auto-updated.

Last update: 2024-04-13 13:46:48 UTC


README

Build Status Code Coverage Scrutinizer Code Quality Total Downloads Latest Stable Version License Reference Status SensioLabsInsight

Welcome! Did you ever have the need to have some Javascript form validation within your symfony application? Well I did! So I made this little bundle to do it for me.

Do me a favor and give it a try and if you have any problem please create a issue or make a pull request.

Some of the things that the bundle supports:

  • Automatic constraint mapping
  • Form Collection (including prototype)
  • Validation groups
  • Data class constraints

Now let's go to the documentation and get started.

Install and configure

composer require boekkooi/jquery-validation-bundle dev-master

All the installation instructions are located in the documentation.

Demo

Yeah so .... nope there is no real demo but what you can do is the following:

git clone https://github.com/boekkooi/JqueryValidationBundle.git
cd JqueryValidationBundle

curl -sS https://getcomposer.org/installer | php
php composer.phar install

php -S 0.0.0.0:8000 -t tests/Functional/web/

Now you can see the functional test pages on http://127.0.0.1:8000/, these should give you a good idea of what is possible.

License

This bundle is under the MIT license.

About

This bundle is created and maintained by Warnar Boekkooi. Special thanks go to the Symfony community and Jörn Zaefferer.

Alternatives

If for some reason you don't like this bundle and you are looking for a alternative you may take a look at FpJsFormValidatorBundle or UberFrontendValidationBundle. It would also be appreciate if you create a issue telling why you don't like this bundle and what could be added/changed to make it more to your liking.