denostr/yii2-stopforumspam
Composer 安装命令:
composer require denostr/yii2-stopforumspam
包简介
Yii2 Component for https://www.stopforumspam.com
README 文档
README
Installation
The preferred way to install this extension is through composer.
composer require denostr/yii2-stopforumspam "~0.1.0"
or add
"denostr/stopforumspam": "~0.1.0"
to the require section of your composer.json file.
Then add to config:
'components' => [
...
'stopforumspam' => [
'class' => 'denostr\stopforumspam\yii\Client',
'format' => 'json',
],
],
Usage
$client = Yii::$app->stopforumspam;
$client->ip(['1.2.3.4', '4.6.7.8', '9.10.11.12']);
$client->email(['first@example.com', 'second@example.com']);
$result = $client->request();
Documentation
API usage stopforumspam.com/usage
Client denostr/stopforumspam
统计信息
- 总下载量: 30
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-04-16