elnur/validator-bundle

常用验证器

安装: 33

依赖者: 0

建议者: 0

安全性: 0

星标: 3

关注者: 1

分支: 0

公开问题: 0

类型:symfony-bundle

0.1.0 2012-08-09 19:45 UTC

This package is not auto-updated.

Last update: 2024-09-28 13:45:58 UTC


README

安装

  1. 将此添加到deps文件中

    [ElnurValidatorBundle]
        git=http://github.com/elnur/ElnurValidatorBundle.git
        target=/bundles/Elnur/ValidatorBundle
    

    然后运行bin/vendors install

  2. app/autoload.php文件中注册Elnur命名空间

    $loader->registerNamespaces(array(
        // ...
        'Elnur'            => __DIR__.'/../vendor/bundles',
    ));
    
  3. app/AppKernel.php文件中注册此包

    public function registerBundles()
    {
        $bundles = array(
            // ...
            new Elnur\ValidatorBundle\ElnurValidatorBundle(),
        );
    }
    

许可证

此包采用MIT许可证。请参阅包中的完整许可证。

Resources/meta/LICENSE