PHP Package: laminas/laminas-captcha

Laminas Captcha is a PHP library for generating CAPTCHA images to protect web forms from spam and abuse. It provides a customizable solution to enhance website security and user experience.

Current Version: 2.18.0
Last Updated: 2025-01-06
PHP Requirement: ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0
Dependencies:
laminas/laminas-escaper
laminas/laminas-session
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Laminas Captcha is a feature-rich PHP library designed to create and validate CAPTCHA images on web forms. By integrating this library, websites can prevent automated bots from submitting forms, enhancing security against spam attacks. With support for various configurations and customization options, Laminas Captcha offers a robust solution to safeguard user interactions.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 2.18.0

Download Download v2.18.0

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/laminas/laminas-captcha/2.18.0/loader.php';
require_once 'libs/laminas/laminas-escaper/2.17.0/loader.php';
require_once 'libs/laminas/laminas-session/2.24.0/loader.php';

use Laminas\Captcha\Adapter\Image;
use Laminas\Captcha\ReCaptchaV2;
use Laminas\Captcha\AbstractWord;

$obj = new Image();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.