web2all/safebrowsingv4-sqlstorage 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

web2all/safebrowsingv4-sqlstorage

Composer 安装命令:

composer require web2all/safebrowsingv4-sqlstorage

包简介

Google safebrowsing SQL storage implementation

README 文档

README

This package provides a sql storage backend for the web2all/safebrowsingv4 package. This storage backend has been built with the web2all/framework.

The web2all/safebrowsingv4-sqlstorage is no longer actively maintained.

What is in this package

It contains a GoogleSafeBrowsing_Updater_IStorage and GoogleSafeBrowsing_Lookup_IStorage implementation which stores its data in a database. Only tested with MySQL and sqlite (see tests).

Usage

Install using composer (eg. composer create-project web2all/safebrowsingv4-sqlstorage).

See documentation of web2all/safebrowsingv4 for usage and replace the $storage by:

$storage = $web2all->Plugin->Web2All_GoogleSafeBrowsing_SQLStorage_Engine($db);

Where $db is a ADOConnection object (see adodb/adodb-php package) to the database where the hash prefixes are to be stored.

To initialize the database, import the schema from the database directory. Currently there is only a scheme for mysql, but if you convert it to your database brand it will probably work.

License

Web2All safebrowsingv4 is open-sourced software licensed under the MIT license (https://opensource.org/licenses/MIT).

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 2
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-12-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固