jordij/sweet-captcha 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

jordij/sweet-captcha

Composer 安装命令:

composer require jordij/sweet-captcha

包简介

Sweet Captcha for Laravel 4

README 文档

README

IMPORTANT MALWARE ISSUE: https://blog.sucuri.net/2015/06/sweetcaptcha-service-used-to-distribute-adware.html

Laravel 4 Sweet Captcha Package

This package provides an easy and quick integration of the sweetCaptcha service for Laravel 4.

Installation

Begin by installing this package through Composer. Edit your project's composer.json file to require jordij/sweet-captcha.

"require": {
	"jordij/sweet-captcha": "dev-master"
},

Save the changes and run a composer update:

composer update

Add 'Jordij\SweetCaptcha\SweetCaptchaServiceProvider' to the providers array in your app/config/app.php

Configuration

Register your sweetCaptcha account here. Set the ApplicationID, the key and the secret in the package configuration file config/config.php.

Localization

By default the package will use the current locale of your Laravel application. If by any reasons you want to set a fixed locale you can do it by editing the package configuration file config/config.php.

Usage

In your form:

{{ Form::sweetcaptcha() }}

Add 'sckey' => 'sweetcaptcha' to your rules array before validating the form.

If you want to change the error message you can do it in the package language file lang/en/validation.php

统计信息

  • 总下载量: 111
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 2
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-03-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固