webforge/stop-forum-spam
Composer 安装命令:
composer require webforge/stop-forum-spam
包简介
a little tool to incorporate the great data from http://www.stopforumspam.com/
关键字:
README 文档
README
is a nice service from http://www.stopforumspam.com/ this is a little helper to incorporate the daily created csv-database to this application (into a db). And then make it query via CLI. You can install it on your shared server and let all your projects use it. That will help to stop spamming the stopforumspam API :)
TODO
- refactor commands into classes
- remove credentials for db
- better bootstrapping for psc-cms and webforge
- refactor the db creation into own command
- create cronjob-command to pull directly file from stopforumspam.com
Howto
- download a file like listed_email_90_all.zip from stop-forum-spam
- run php -f bin/cli.php update-emails path/to/listed_email_90_all.zip (a lot of dots while processing the sql will be generated)
- use the out.sql (which is a text file with sql "INSERT INTO" statements) to insert into a "emails" table on your database
Resources
all credits go to stopforumspam.com
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2012-10-08