承接 hashmode/cakephp-captcha 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

hashmode/cakephp-captcha

Composer 安装命令:

composer require hashmode/cakephp-captcha

包简介

Captcha for cakephp 3

README 文档

README

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

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

<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

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

统计信息

  • 总下载量: 1.26k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 2
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-04-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固