PHPackages                             hashmode/cakephp-captcha - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Validation &amp; Sanitization](/categories/validation)
4. /
5. hashmode/cakephp-captcha

ActiveCakephp-plugin[Validation &amp; Sanitization](/categories/validation)

hashmode/cakephp-captcha
========================

Captcha for cakephp 3

1.0.3(9y ago)11.3k↓70%1[1 issues](https://github.com/hashmode/cakephp-captcha/issues)1MITPHP

Since Apr 2Pushed 9y ago1 watchersCompare

[ Source](https://github.com/hashmode/cakephp-captcha)[ Packagist](https://packagist.org/packages/hashmode/cakephp-captcha)[ RSS](/packages/hashmode-cakephp-captcha/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (4)Dependencies (1)Versions (5)Used By (1)

Visual and Audio captcha for Cakephp 3
======================================

[](#visual-and-audio-captcha-for-cakephp-3)

The **Cakephp 3.x** implementation of the following captcha

installation should be done by composer

```
composer require hashmode/cakephp-captcha:~1.0

```

How to use
----------

[](#how-to-use)

Load from bootstrap

```
Plugin::load('CakephpCaptcha');

```

Load component in your controller's initialize function by

```
$this->loadComponent('CakephpCaptcha.Captcha');

```

Add some function in your controller to call from view

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

```

From view

```
