procergs / tos-bundle
服务条款包
2.0.1
2018-10-02 12:51 UTC
Requires
- php: >=5.3.3
- cebe/markdown: ^1.1
- doctrine/doctrine-bundle: >=1.2
- doctrine/orm: ^2.2|^2.5
- friendsofsymfony/user-bundle: >=1.3
- symfony/symfony: >=2.3.0|^3
README
为 login-cidadao
提供的服务条款包
安装
1. 添加依赖
在终端运行
$ composer require procergs/tos-bundle
2. 在 AppKernel 中启用
编辑 app/AppKernel.php
,确保 registerBundles
包含以下内容
// app/AppKernel.php public function registerBundles() { $bundles = array( // ... new LoginCidadao\TOSBundle\LoginCidadaoTOSBundle(), ); }
3. 配置
最后,将以下内容添加到您的 config.yml
login_cidadao_tos: use_tasks: true