Captcha for cakephp 3

Installs: 1 153

Dependents: 2

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 1

Open Issues: 1


1.0.3 2017-01-08 20:27 UTC

This package is not auto-updated.

Last update: 2023-01-21 16:22:47 UTC


The Cakephp 3.x implementation of the following captcha http://www.ejeliot.com/pages/2

installation should be done by composer

composer require hashmode/cakephp-captcha:~1.0

How to use

Load from bootstrap


Load component in your controller's initialize function by


Add some function in your controller to call from view

	public function image() {
	    $this->autoRender = false;
	    echo $this->Captcha->image(5);

From view

<img src="<?php echo $this->Url->build('/users/image');?>" />

You can concatenate some random chars by js to the url if the users refresh the captcha - to prevent cache-related issues

To check if the provided value is correct