robertlemke/akismet
最新稳定版本:v3.1.2
Composer 安装命令:
composer require robertlemke/akismet
包简介
Integration of Akismet, an intelligent comment spam detector, for Flow
README 文档
README
Flow package which provides convenient access to the Akismet REST service.
Setup
In order to use the service you'll first need to sign up for a (usually) free account at http://akismet.com/
Next, just include this package into your application by adding it to the required package of your composer.json file.
Finally add your Akismet credentials to your Settings.yaml:
RobertLemke:
Akismet:
# Defines the host of the Akismet service. Does not have to be changed unless
# Akismet changes its service entry point.
serviceHost: 'rest.akismet.com'
# The API key you have been provided by Akismet
apiKey: ''
# The frontpage URI pointing to your blog or the site using Akismet. Must be
# a full URI, for example "http://robertlemke.com/blog".
blogUri: ''
Usage
The Service class provides a simple API for checking if a comment is spam or submitting new spam or ham to the service:
$isSpam = $service->isCommentSpam($permaLink, $content, $type, $author, $authorEmailAddress, $authorUri);
统计信息
- 总下载量: 3.43k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2013-01-30