formapro / JsFormValidatorBundle

The Javascript validation for Symfony 2, 3 and 4 forms
MIT License
128 stars 57 forks source link

Is it possible to use the bundle when Symfony Forms are a stand-alone component? #130

Closed sasha-myaffiliates closed 7 years ago

sasha-myaffiliates commented 7 years ago

Hi,

I'm using Symfony Forms as a stand-alone component and not using routes. Is it possible to use the bundle in such scenario?

Thanks, Sasha

66Ton99 commented 7 years ago

I think - YES. All you need to resolve thees dependencies: php>=5.5.9 symfony/form: "^2.7|^3.0", symfony/validator: "^2.7|^3.0", symfony/assetic-bundle: ">=2.5"

And even if other packages depends on some core Symfony Bundles they will be in vendor folder and you should not use them

sasha-myaffiliates commented 7 years ago

Thank you @66Ton99 I will give it a go. My concern was if not using routes is a blocker.

66Ton99 commented 7 years ago

@sasha-myaffiliates Are you able to do it?

sasha-myaffiliates commented 7 years ago

Hi @66Ton99, I didn't have a chance to get around to it yet, I will be on it early next week. I'll provide the feedback here.

sasha-myaffiliates commented 7 years ago

We're not implementing this feature for now, so I didn't have a chance to get around to it. Closing the issue.