承接 nikazooz/laravel-captcha 相关项目开发

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

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

nikazooz/laravel-captcha

最新稳定版本:v1.7.0

Composer 安装命令:

composer require nikazooz/laravel-captcha

包简介

Laravel package to generate and validate CAPTCHA.

README 文档

README

Package for Laravel to easily generate and validate CAPTCHA.

Requirements

Version PHP Laravel Status
0.1.* >=7.0 ^5.5 Not supported
1.* >=7.2 >=6.0 Supported

ImageMagick or GD extension for PHP is required to use with included drivers.

Verification code is stored in session, so session needs to be active on validated route and on web middleware group.

Installation

composer require nikazooz/laravel-captcha

Configuration

To change configurations, you need to publish the configurations file.

php artisan vendor:publish --provider="Nikazooz\LaravelCaptcha\CaptchaServiceProvider"

Reading the config file is the best way to find out what can be configured.

Usage

Easily get URL at which CAPTCHA image is available using the facade:

<?php

use Nikazooz\LaravelCaptcha\Facades\Captcha;

echo Captcha::url();

It adds v query parameter with random value in order to avoid browser caching.

To validate the code sent in request, use captcha validator, registered by the package, on that parameter.

If you need the verification code, for example in tests, you can get it with the facade: Captcha::code();

License

The package is open-sourced software licensed under the MIT license.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-12-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固