phpmentors / composite-password-authentication-bundle
用于组合密码认证的Symfony扩展包
v1.0.0
2016-10-28 07:35 UTC
Requires
- php: >=5.5.9
- symfony/config: ~2.8|~3.0
- symfony/dependency-injection: ~2.8|~3.0
- symfony/http-kernel: ~2.8|~3.0
- symfony/security-bundle: ~2.8|~3.0
- symfony/security-core: ~2.8|~3.0
This package is auto-updated.
Last update: 2024-08-29 04:14:33 UTC
README
用于组合密码认证的Symfony扩展包
功能
- 支持表单认证的组合密码
安装
PHPMentorsCompositePasswordAuthenticationBundle
可以使用 Composer 安装。
首先,将 phpmentors/composite-password-authentication-bundle
依赖添加到您的 composer.json
文件中,如下所示
稳定版本
composer require phpmentors/composite-password-authentication-bundle "1.0.*"
开发版本
composer require phpmentors/composite-password-authentication-bundle "~1.1@dev"
其次,将 PHPMentorsCompositePasswordAuthenticationBundle
添加到您的扩展包中,以便在 AppKernel::registerBundles()
中注册,如下所示
... class AppKernel extends Kernel { public function registerBundles() { $bundles = array( ... new PHPMentors\CompositePasswordAuthenticationBundle\PHPMentorsCompositePasswordAuthenticationBundle(), ); ...
配置
app/config/security.yml
security: # ... firewalls: secured_area: form_login_composite_password: ... # Same configuration as `form_login`
支持
如果您发现错误或有问题,或者想要请求一个新功能,请在 问题 上创建一个问题或拉取请求。
版权
版权(c)2016 KUBO Atsuhiro,保留所有权利。