surlinio / easycaptchas
A lightweight, self-hosted and privacy-friendly CAPTCHA solution for PHP forms.
v1.0.0
2026-10-10 08:46 UTC
Requires
- php: >=8.1
- ext-gd: *
- ext-hash: *
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
A free, self-hosted and privacy-friendly CAPTCHA solution for PHP forms. EasyCaptchas uses PHP sessions and never sends visitor data to third parties.
Installation
composer require surlinio/easycaptchas
Requirements: PHP 8.1 or newer, PHP sessions and the GD extension.
Quick start
<?php session_start(); require __DIR__.'/vendor/autoload.php'; use Surlinio\EasyCaptchas\EasyCaptchas; $captcha = new EasyCaptchas(); $challenge = $captcha->create('contact');
See the complete installation guide at https://easycaptchas.nl/docs.
License
EasyCaptchas is free and open-source software released under the MIT License.