carry0987/captcha 问题修复 & 功能扩展

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

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

carry0987/captcha

最新稳定版本:1.1.3

Composer 安装命令:

composer require carry0987/captcha

包简介

Generate Captcha with normal image format

README 文档

README

Latest Stable Version
Generate Captcha with normal image format via php

Installation

composer require carry0987/captcha

Usage

Set option for SimpleCaptcha:

$captcha_option = array(
    'code' => '',
    'image_height' => 60,
    'image_width' => 250,
    'captcha_letter' => 'bcdfghjkmnpqrstvwxyz23456789',
    'font_file' => dirname(__DIR__).'/font/monofont.ttf',
    'text_color' => '#142864',
    'noise_color' => '#142864',
    'total_character' => 6,
    'random_dots' => 50,
    'random_lines' => 25,
    'check_sensitive' => false
);

The captcha code is compared case insensitively by default
If you want case sensitive match, update the option check_sensitive from false to true

Screenshot

carry0987

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-10-07