承接 recaptcha/php5 相关项目开发

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

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

recaptcha/php5

最新稳定版本:v2.0.0

Composer 安装命令:

composer require recaptcha/php5

包简介

A properly coded PHP 5 reCaptcha class that will allow you to interact with Google's reCaptcha API.

README 文档

README

Latest Stable Version Total Downloads License

If you are using the reCaptcha field on any of your forms and are currently using global keys, you will need to set up a Site Key and a Private Key for each site where you use the reCaptcha field.

A correctly coded PHP 5 reCaptcha class that will allow you to interact with Google's reCaptcha API.

  • 100% phpDocumentator 2 code coverage
  • 100% PSR-2 code coverage
  • Composer friendly package

Feel free to extend and modify it to fit your frameworks and applications needs.

Usage

Composer install

You can install via composer:

  • visit http://getcomposer.org to install composer on your system;
  • create a composer.json file in your project root:
{
  "require": {
      "recaptcha/php5": "v2.0.0"
  }
}
  • download and install the package with composer install;
  • add this line to your application's index.php file:
<?php
require 'vendor/autoload.php';

Manual install

If you have your autoloader, directly update namespaces and drop the files into your frameworks library.

Please see Examples directory for a simple run down of functionality.

Notes

  • The functionality is based on $_POST requests by default; you can modify it (relatively easy) to take $_GET or whatever you want instead.
  • It will always send a remote address from $_SERVER['REMOTE_ADDR'] variable. If you are behind Vagrant, etc. Please update it, or write a setter to set remote address on the fly.

About

See: http://www.google.com/recaptcha/intro/index.html

统计信息

  • 总下载量: 678.49k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 48
  • 点击次数: 3
  • 依赖项目数: 5
  • 推荐数: 0

GitHub 信息

  • Stars: 40
  • Watchers: 5
  • Forks: 25
  • 开发语言: PHP

其他信息

  • 授权协议: BSD
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固