typisttech/wordfence-api
Composer 安装命令:
composer require typisttech/wordfence-api
包简介
Fetch WordPress vulnerability information from Wordfence vulnerability data feed.
README 文档
README
Wordfence API
Fetch WordPress vulnerability information from Wordfence vulnerability data feed.
Built with ♥ by Typist Tech
Tip
Hire Tang Rufus!
I am looking for my next role, freelance or full-time. If you find this package useful, I can build you more API clients like this. Let's talk if you are hiring PHP / Ruby / Go developers.
Contact me at https://typist.tech/contact/
Usage
use \TypistTech\WordfenceAPI\{Client, Feed, Record}; $client = new Client; // Alternatively, use `Feed::Scanner` for the scanner feed. $records = $client->fetch(Feed::Production); foreach($records as $record) { /** @var Record $record */ echo $record->title; }
Known Issues
Allowed memory size of 999999 bytes exhausted (tried to allocate 99 bytes)
Tip
Set memory_limit on the fly as a temporary fix:
php -d memory_limit=512MB your-script.php
As of October 2025, the production Wordfence vulnerability data feed is over 117 MB.
Client::fetch() downloads the feed into memory and json_decode() the entire feed all in one go.
It causes PHP to run out of memory.
A possible solution is to use a streaming JSON parser like json.Decoder in Go.
If you know how to do that in PHP, please send pull requests. 🙇
Tip
Hire Tang Rufus!
There is no need to understand any of these quirks. Let me handle them for you. I am seeking my next job, freelance or full-time.
If you are hiring PHP / Ruby / Go developers, contact me at https://typist.tech/contact/
Installation
composer require typisttech/wordfence-api
Credits
Wordfence API is a Typist Tech project and maintained by Tang Rufus, freelance developer for hire.
Full list of contributors can be found on GitHub.
Copyright and License
This project is a free software distributed under the terms of the MIT license. For the full license, see LICENSE.
Wordfence Intelligence Terms and Conditions
Before using Wordfence Vulnerability Data Feed API, you must read and agree to the Wordfence Intelligence Terms and Conditions.
Learn more at Wordfence help documentation.
If you have any questions about the terms and conditions, please contact Wordfence directly.
MITRE Attribution Requirement
Any company or individual who uses Wordfence vulnerability database API needs to display the MITRE copyright claims included in that vulnerability record for any MITRE vulnerabilities that they display to their end user.
Learn more at Wordfence help documentation.
If you have any questions about the attribution requirement, please contact Wordfence directly.
Contribute
Feedbacks / bug reports / pull requests are welcome.
typisttech/wordfence-api 适用场景与选型建议
typisttech/wordfence-api 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 6 次下载、GitHub Stars 达 3, 最近一次更新时间为 2024 年 12 月 03 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「security」 「wordpress」 「wordfence」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 typisttech/wordfence-api 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 typisttech/wordfence-api 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 typisttech/wordfence-api 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Provide a way to secure accesses to all routes of an symfony application.
It's a barebone security class written on PHP
Contao CMS integrity check for some files
A PHP security linter to detect insecure functions like var_dump, print_r, and other dangerous functions in your codebase
Cbox SSRF — a hardened, config-driven guard against server-side request forgery for outbound URLs in Laravel. Blocks private/reserved/cloud-metadata targets, pins DNS, and refuses redirects.
Must-use plugin integrating WordPress with the Upsun platform: environment awareness, router-cache friendliness, safe preview clones, deploy migrations, Site Health checks, and a wp upsun CLI command.
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 32
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-12-03