nextbox/neos-formcaptcha
Composer 安装命令:
composer require nextbox/neos-formcaptcha
包简介
Neos-Plugin that adds a Captcha to the Neos Form Builder
README 文档
README
This package adds a captcha element, which can be used within your forms. This element is rendered with an image and an input field and requires to be filled with the random generated phrase, shown on the image.
If the captcha is not filled correctly, the form will not be submitted and a new image will be generated.
Installation
The NextBox.Neos.FormCaptcha package is listed on packagist.
Just run the following command within your Distribution:
composer require nextbox/neos-formcaptcha
Usage with Neos.Form.Builder
Add a captcha form element to your form.
Usage with Neos.Form
Add the new form element to your form definition renderables:
type: 'Neos.Form:Form' identifier: 'someIdentifier' renderables: - type: 'Neos.Form:Page' identifier: page-one renderables: - type: 'NextBox.Neos.FormCaptcha:Captcha' identifier: 'captcha' finishers: - <Your finishers here>
Global settings for Neos.Form and Neos.Form.Builder
You can customize the display of the captcha elements by adjusting the settings in Settings.yaml.
NextBox: Neos: FormCaptcha: # allowed characters for the captcha elements possibleLetters: 'bcdfghjkmnpqrstvwxyz23456789' image: # captcha image width width: 130 # captcha image height height: 50 # number of characters displayed in the captcha image totalCharacters: 6 random: # number of points displayed in the captcha image dots: 50 # number of lines displayed in captcha image lines: 25 # font color of the text textColor: r: 20 g: 40 b: 100 # color of noise noiseColor: r: 20 g: 40 b: 100 # background color of the Captcha image backgroundColor: r: 255 g: 255 b: 255
i18n
Currently, the following languages are supported: English, German, Danish, Spanish, Finnish, French, Latvian, Dutch and norwegian Bokmal.
Feel free to send us labels in other languages so we can add them to the plugin.
nextbox/neos-formcaptcha 适用场景与选型建议
nextbox/neos-formcaptcha 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 495 次下载、GitHub Stars 达 0, 最近一次更新时间为 2023 年 02 月 22 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 nextbox/neos-formcaptcha 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 nextbox/neos-formcaptcha 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 495
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 19
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-02-22
