2017 © Pedro Peláez
 

cakephp-plugin cakephp-captcha

Captcha for cakephp 3

image

hashmode/cakephp-captcha

Captcha for cakephp 3

  • Sunday, January 8, 2017
  • by hashmode
  • Repository
  • 1 Watchers
  • 1 Stars
  • 214 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 2 Forks
  • 1 Open issues
  • 5 Versions
  • 11 % Grown

The README.md

Visual and Audio captcha for Cakephp 3

The Cakephp 3.x implementation of the following captcha http://www.ejeliot.com/pages/2, (*1)

installation should be done by composer, (*2)

composer require hashmode/cakephp-captcha:~1.0

How to use

Load from bootstrap, (*3)

Plugin::load('CakephpCaptcha');

Load component in your controller's initialize function by, (*4)

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

Add some function in your controller to call from view, (*5)

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

From view, (*6)

<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, (*7)

To check if the provided value is correct, (*8)

$this->Captcha->check($userSubmittedData)

The Versions

08/01 2017

dev-master

9999999-dev

Captcha for cakephp 3

  Sources   Download

MIT

The Requires

 

by Avatar hashmode

cakephp captcha

08/01 2017

1.0.3

1.0.3.0

Captcha for cakephp 3

  Sources   Download

MIT

The Requires

 

by Avatar hashmode

cakephp captcha

17/10 2016

1.0.2

1.0.2.0

Captcha for cakephp 3

  Sources   Download

MIT

The Requires

 

by Avatar hashmode

cakephp captcha

27/04 2016

v1.0.1

1.0.1.0

Captcha for cakephp 3

  Sources   Download

MIT

The Requires

 

by Avatar hashmode

cakephp captcha

02/04 2016

v1.0

1.0.0.0

Captcha for cakephp 3

  Sources   Download

MIT

The Requires

 

by Avatar hashmode

cakephp captcha