承接 webignition/sfs-result-analyser 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

webignition/sfs-result-analyser

最新稳定版本:0.1

Composer 安装命令:

composer require webignition/sfs-result-analyser

包简介

Analyses results from api.stopforumspam.com, helps you figure out what to do

README 文档

README

Analyses results from api.stopforumspam.com, helps you figure out what to do.

Why?

You can use webignition/sfs-client to query api.stopforumspam.com and get back one or more webignition\SfsResultInterfaces\ResultInterface objects.

You've probably queried api.stopforumspam.com because you need to know if a given email address, IP address or username is known to be untrustworthy.

This helps with that.

Installation

composer require webignition/sfs-result-analyser

Usage

use webignition\SfsResultAnalyser\Analyser;
use webignition\SfsResultInterfaces\ResultInterface;

// We're assuming that $result is a ResultInterface object.

$analyser = new Analyser();

// Does a given result indicate that the entity is not to be trusted?
$analyser->isUntrustworthy($result));
// returns true or false

// Is a given result's entity trustworthy?
// Return a float between 0 (do not trust) and 1 (probably can be trusted)
$trustworthiness = $analyser->calculateTrustworthiness($result);

See Also

Use webignition/sfs-querier for a package that contains webignition/sfs-result-analyser, webignition/sfs-client and provides detailed usage instructions.

统计信息

  • 总下载量: 141
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-04-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固