rbltracker/sdk
最新稳定版本:1.1.0
Composer 安装命令:
composer require rbltracker/sdk
包简介
A PHP wrapper for the RBLTracker API
关键字:
README 文档
README
Sign up for a RBLTracker account and visit our developer site for even more details.
PHP Client Library
The official PHP binding for your RBLTracker service.
Prerequisites
Before using this library, you must have:
- A RBLTracker Account, sign up for a new account or login to RBLTracker
- a valid RBLTracker account SID and auth token, available from the RBLTracker Portal
- PHP >= 7.4
- The PHP JSON extension
Installation
composer require rbltracker/sdk Quickstart
Get a list of hosts on your account
<?php $client = new RBLTracker\Client('your_account_sid', 'your_auth_token'); try { $hosts = $client->hosts->get([ 'page_size' => 5, 'page' => 2 ]); print_r($hosts); } catch(RBLTracker\Exceptions\RBLTrackerException $e) { echo $e->getMessage(); }
That will output a PHP array that looks like this:
Array ( [status_code] => 200 [status_message] => Ok [total_hosts] => 1 [total_listed] => 1 [page] => 1 [total_pages] => 1 [page_size] => 20 [data] => Array ( [0] => Array ( [id] => HTee06c4fa7c23aa8a3a4e8d66922b0834 [host] => bad-url.com [name] => bad-url.com [type] => uribl [parent] => [status] => active [rbl_profile] => RP15d4e891d784977cacbfcbb00c48f133 [contact_group] => CGd3dca251d33135e0a518d7c49b89dc61 [last_checked] => 2016-11-07 21:01:33 EST [first_listed] => 2016-11-06 10:14:58 EST [listed_period] => 1 day 11:37:51 [listed] => 1 [listed_count] => 1 [listed_details] => Array ( [0] => Array ( [host] => Google Safe Browsing [website] => [details] => Malware (Virus) on Windows ) ) ) ) [version] => 3.4 ) Documentation
Full API documentation is available from the RBLTracker developer site.
Release History
v1.1.0
- updated to the use the new API endpoint URL
- added strict type requirements; bumped minimum version to PHP 7.4
- added support for Monitoring Profiles, moving away from RBL Profiles
- added support for the ACLs endpoint to pull the list of DNS servers used for checks
v1.0.3
- fixed a typo in RBLTrackerException.php where it was using short open tags.
- changed array() instances to [].
- updated classes to use the final keyword.
v1.0.2
- updated to support the RBLTracker API v3.6
- added manual RBL check support
- refactored the code layout to make it easier to override the URL for testing
v1.0.1
- updated to support the RBLTracker API v3.4
v1.0.0
- Initial release
rbltracker/sdk 适用场景与选型建议
rbltracker/sdk 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 11.19k 次下载、GitHub Stars 达 2, 最近一次更新时间为 2026 年 01 月 04 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「api」 「dns」 「rbltracker」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 rbltracker/sdk 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 rbltracker/sdk 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 rbltracker/sdk 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A PSR-7 compatible library for making CRUD API endpoints
An advanced PHP library for email validation with DNS checks and typo suggestions.
Unified API for compute, dns, objectstorage and other cloud services
Laravel-Security helps you secure your Laravel apps by setting various HTTP headers. it can help!
REST API client for Dynect
统计信息
- 总下载量: 11.19k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 12
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-04