2017 © Pedro Peláez
 

library think-tcaptcha

tencent captcha package for thinkphp5

image

tj646/think-tcaptcha

tencent captcha package for thinkphp5

  • Thursday, February 22, 2018
  • by tj646
  • Repository
  • 1 Watchers
  • 2 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

think-tcaptcha

thinkphp5 腾讯验证码类库, (*1)

安装

composer require tj646/think-tcaptcha, (*2)

使用

在配置扩展目录添加配置文件tcaptcha_config.php填写你的配置参数

<?php 
 return [
    'secret_id' => '***',
    'secret_key' => '***'
];

模板里输出验证码

<div>{:tcaptcha('register',320,40,0)}</div>

手动验证

if(!tcaptcha_check($ticket)){
 //验证失败
};

The Versions

22/02 2018

dev-master

9999999-dev

tencent captcha package for thinkphp5

  Sources   Download

Apache-2.0

by Avatar tj646

19/01 2018

1.0

1.0.0.0

tencent captcha package for thinkphp5

  Sources   Download

Apache-2.0

by Avatar tj646