dev-master
9999999-devEasily disable HTML5 validation errors.
MIT
The Requires
- php >=5.3.0
- symfony/framework-bundle ~2.1|~3.0
by Trent Steel
validation html5 w3c
Easily disable HTML5 validation errors.
Easily disable HTML5 validation errors., (*1)
Add the following lines to the deps file:, (*2)
[TrsteelHtmlFormValidationBundle] git=http://github.com/trsteel88/TrsteelHtmlFormValidationBundle.git target=/bundles/Trsteel/HtmlFormValidationBundle
Update your vendors by running:, (*3)
$ php ./bin/vendors
Add the Trsteel namespace to your autoloader., (*4)
<?php // app/autoload.php $loader->registerNamespaces(array( 'Trsteel' => __DIR__.'/../vendor/bundles', // your other namespaces ));
Add the bundle to the application kernel., (*5)
php
<?php
// app/AppKernel.php
public function registerBundles()
{
if (in_array($this->getEnvironment(), array('dev', 'test'))) {
// ...
$bundles[] = new Trsteel\HtmlFormValidationBundle\TrsteelHtmlFormValidationBundle();
// ...
}
}
, (*6)
Easily disable HTML5 validation errors.
MIT
validation html5 w3c