A standalone defensive security PHP library that provides multiple layers of protection against form spam without requiring annoying CAPTCHAs. The library uses a combination of honeypot fields, submission timing analysis, RBL (Real-time Blackhole List) checks, and optional Redis-based rate limiting.
Features
- Honeypot Fields - Detect bots that blindly populate all form fields
- Timing Analysis - Flag submissions that happen too quickly after page load
- RBL Checking - Query multiple Real-time Blackhole Lists to detect known spammer IPs
- Fast Concurrent RBL Queries - Uses non-blocking UDP sockets for parallel DNS lookups
- Rate Limiting - Optional Redis-based rate limiting to prevent flooding
- Debug Mode - Built-in logging for troubleshooting
Requirements
- PHP 7 or higher (contact the author for support with PHP 5.x)
- PHP session support (for form timestamping)
- PHP Redis extension (optional, only for rate limiting)
- Note: This is a standalone PHP library for custom applications, not a WordPress or CMS plugin.
Support
- Purchasing the library includes basic technical support for 6 months: basic technical support and guidance for using the library, bug fixes and updates.
- If you need advanced support such as customization, installation or integration, server configuration / hosting issues, etc I'm happy to provide consulting seperately.
- Support is provided by Email and/or ticketing system. I will strive to reply within 24 to 48 hours of receiving your query.