eye4web / eye4web-zfc-user-warnings
为您的用户添加警告功能
0.0.4
2017-08-15 18:23 UTC
Requires
- php: >=5.4
- zf-commons/zfc-user: ^1.4
Requires (Dev)
- codeclimate/php-test-reporter: dev-master
- doctrine/doctrine-orm-module: 0.*
- phpunit/phpunit: 4.*
- squizlabs/php_codesniffer: 1.5.*
- zendframework/zend-captcha: ~2.1
This package is not auto-updated.
Last update: 2024-09-14 16:03:17 UTC
README
简介
本模块将允许您为用户添加警告。
安装
使用composer
-
运行以下composer命令
php composer.phar require eye4web/eye4web-zfc-user-warnings
-
在您的
application.config.php
文件中启用它。<?php return array( 'modules' => array( // ... 'Eye4web\ZfcUser\Warnings' ), // ... );
在X次警告后禁止用户
如果您想在用户被警告X次后禁止他们,可以使用Eye4webZfcUserWarningsBan。