The BotDetect CAPTCHA Composer Package (BotDetect v3.0; deprecated)

The free version of BotDetect PHP Captcha is also available as a Composer package in the packagist.org composer packages repository: BotDetect PHP CAPTCHA Free Composer package.

We have already integrated BotDetect PHP Captcha Composer package with Laravel; currently the most popular PHP MVC framework using Composer for managing dependencies.

To integrate CAPTCHA into your web application, check the following resources:

PHP Captcha Composer integration instructions

To show a Captcha challenge on the form and check user input during form submission in Laravel and CakePHP, check the following integration:

Composer CAPTCHA Integration into Laravel framework

To integrate CAPTCHA into Laravel framework, you should use the BotDetect Laravel CAPTCHA Composer package which is also available on packagist.org. The package contains code that integrates BotDetect PHP CAPTCHA Composer package into your web application built on Laravel framework. Here is how to start:

Step 1: Install the BotDetect Laravel Captcha Composer Package

Run the following command in your application's root directory:

Step 2: Register the Laravel Captcha service provider (<MY_LARAVEL_WEBROOT>/config/app.php):

"providers" => [
  ...
  LaravelCaptcha\Providers\LaravelCaptchaServiceProvider::class
]

Check the following resources describing usage of BotDetect PHP Captcha in Laravel:

Composer CAPTCHA Integration into CakePHP framework

To integrate CAPTCHA into CakePHP framework, you should use the BotDetect CakePHP CAPTCHA Composer package which is also available on packagist.org. The package contains code that integrates BotDetect PHP CAPTCHA Composer package into your web application built on CakePHP framework. Here is how to start:

Step 1: Install the BotDetect CakePHP Captcha Composer Plugin

Run the following command in your application's root directory:

Step 2: Load the BotDetect CakePHP Captcha Composer Plugin in your application's bootstrap (<MY_CAKE_WEBROOT>/config/bootstrap.php):

Plugin::load('CakeCaptcha', ['routes' => true]);

Check the following resources describing usage of BotDetect PHP Captcha in CakePHP:

BotDetect CAPTCHA Code Examples Download

Captcha code examples:

BotDetect PHP Captcha Free Download

BotDetect CAPTCHA Documentation

The full index of available BotDetect PHP CAPTCHA documentation can be found on the BotDetect documentation page.



Please Note

The information on this page is out of date and applies to a deprecated version of BotDetect™ CAPTCHA (v3.0).

An up-to-date equivalent page for the latest BotDetect Captcha release (v4) is BotDetect v4 Captcha documentation index.

General information about the major improvements in the current BotDetect release can be found at the What's New in BotDetect v4.0 page.