Skip to content

Commit e373dce

Browse files
committed
Update README.md
1 parent 2cb04b4 commit e373dce

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,24 @@
22
[![Build Status](https://travis-ci.org/formapro/JsFormValidatorBundle.svg?branch=master)](https://travis-ci.org/formapro/JsFormValidatorBundle)
33
[![Total Downloads](https://poser.pugx.org/fp/jsformvalidator-bundle/downloads.png)](https://packagist.org/packages/fp/jsformvalidator-bundle)
44

5-
This module enables validation of the 3.0+ forms on the JavaScript side.
5+
This module enables validation of the Symfony 3 forms on the JavaScript side.
66
It converts form type constraints into JavaScript validation rules.
77

88
If you have Symfony 2.8.* or 2.7.* - you need to use [Version 1.3.*](https://github.com/formapro/JsFormValidatorBundle/tree/1.3)
99
If you have Symfony 2.6.* or less - you need to use [Version 1.2.*](https://github.com/formapro/JsFormValidatorBundle/tree/1.2)
1010

1111
## 1 Installation<a name="p_1"></a>
1212

13-
[Upgrade from the previous version](https://github.com/formapro/JsFormValidatorBundle/blob/master/UPGRADE-1.1.md)
14-
1513
### 1.1 Download FpJsFormValidatorBundle using composer<a name="p_1_1"></a>
1614

1715
Run in terminal:
1816
```bash
1917
$ php composer.phar require "fp/jsformvalidator-bundle":"dev-master"
2018
```
19+
Or if you do not want to unexpected problems better to use exact version.
20+
```bash
21+
$ php composer.phar require "fp/jsformvalidator-bundle":"v1.4.*"
22+
```
2123
### 1.2 Enable the bundle<a name="p_1_2"></a>
2224

2325
Enable the bundle:
@@ -48,9 +50,8 @@ public function registerBundles()
4850

4951
### 1.4 Add routes<a name="p_1_4"></a>
5052

51-
If you use the UniqueEntity constraint, then you have to include the next part to your routing config:
53+
If you use the UniqueEntity constraint, then you have to include the next part to your routing config: app/config/routing.yml
5254
```yaml
53-
//app/config/routing.yml
5455
# ...
5556
fp_js_form_validator:
5657
resource: "@FpJsFormValidatorBundle/Resources/config/routing.xml"

0 commit comments

Comments
 (0)