trsteel / html-form-validation-bundle
Easily disable HTML5 validation errors.
Installs: 44 966
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 2
Open Issues: 1
Type:symfony-bundle
Requires
- php: >=7.2.0
- symfony/framework-bundle: >=3.4,<8.0
README
Easily disable HTML5 validation errors.
Add the following lines to the deps file:
[TrsteelHtmlFormValidationBundle]
git=http://github.com/trsteel88/TrsteelHtmlFormValidationBundle.git
target=/bundles/Trsteel/HtmlFormValidationBundle
Update your vendors by running:
$ php ./bin/vendors
Add the Trsteel namespace to your autoloader.
<?php // app/autoload.php $loader->registerNamespaces(array( 'Trsteel' => __DIR__.'/../vendor/bundles', // your other namespaces ));
Add the bundle to the application kernel.
<?php // app/AppKernel.php public function registerBundles() { if (in_array($this->getEnvironment(), array('dev', 'test'))) { // ... $bundles[] = new Trsteel\HtmlFormValidationBundle\TrsteelHtmlFormValidationBundle(); // ... } }