Download the PHP package tekintian/tekintcaptcha without Composer
On this page you can find all versions of the php package tekintian/tekintcaptcha. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tekintian/tekintcaptcha
More information about tekintian/tekintcaptcha
Files in tekintian/tekintcaptcha
Package tekintcaptcha
Short Description 腾讯验证码, 腾讯防水墙, 验证码, 滑动验证码, 智能滑动验证码PHP扩展, TekinTCaptcha - A Client library for Tencent Captcha, a service that protect websites from spam and abuse.
License BSD-3-Clause
Homepage http://tekin.yunnan.ws/
Informations about the package tekintcaptcha
TekinTCaptcha PHP client library
基于Google PHP项目设计思想实现的腾讯滑动智能验证码实现PHP中间件。
- Project page: http://tekin.yunnan.ws/TekinTCaptcha/
- Repository: https://github.com/tekintian/TekinTCaptcha
- Version: 1.0.0
Description
腾讯验证码, 腾讯防水墙, 验证码, 滑动验证码, 智能滑动验证码PHP扩展, TekinTCaptcha - A Client library for Tencent Captcha, a service that protect websites from spam and abuse. TekinTCaptcha is a free CAPTCHA service that protect websites from spam and abuse.
This is Tencent Captcha code that provides plugins for third-party integration with TekinTCaptcha.
Installation
Composer (Recommended)
Composer is a widely used dependency manager for PHP
packages. This TekinTCaptcha client is available on Packagist as
tekintian/tekintcaptcha
and can be
installed either by running the composer require
command or adding the library
to your composer.json
. To enable Composer for you project, refer to the
project's Getting Started
documentation.
To add this dependency using the command, run the following from within your project directory:
Alternatively, add the dependency directly to your composer.json
file:
Direct download (no Composer)
If you wish to install the library manually (i.e. without Composer), then you
can use the links on the main project page to either clone the repo or download
the ZIP file. For
convenience, an autoloader script is provided in src/autoload.php
which you
can require into your script instead of Composer's vendor/autoload.php
. For
example:
The classes in the project are structured according to the PSR-4 standard, so you may of course also use your own autoloader or require the needed files directly in your code.
Usage
First, register keys for your site at http://007.qq.com
When your app receives a form submission containing the Ticket, Randstr
field, you can verify it using:
You can see an end-to-end working example in examples/index.html examples/login.php
thinkphp5 demo
conposer require tekintian/tekintcaptcha