承接 dominion-solutions/filament-captcha 相关项目开发

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

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

dominion-solutions/filament-captcha

Composer 安装命令:

composer require dominion-solutions/filament-captcha

包简介

CAPTCHA Plugin for Filament

README 文档

README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

CAPTCHA Support in Filament!

Skip to Installation

What Is CAPTCHA?

CAPTCHA stands for Completely Automated Public Turing test to tell Computers and Humans Apart. The goal of this package is to keep bots from being able to submit fake data on your forms. This should be the last (and not first) line of defense to keep bots from submitting garbage data to your unprotected forms.

Why do I need it?

If you're using a public panel within your application to collect data, for example a comment box, or a lead funnel, it can be (at best) annoying or (worst) a security liability for bots to try to be able to submit data to a form.

Installation

You can install the package via composer:

composer require dominion-solutions/filament-captcha

You will also need a Captcha Provider. Filament Captcha supports the following providers:

Provider Composer Package Install Instructions
{m’e} Web Studio Captcha composer require mews/captcha Installation

You can publish the config file with:

php artisan vendor:publish --tag="filament-captcha-config"

Optionally, you can publish the views using

php artisan vendor:publish --tag="filament-captcha-views"

This is the contents of the published config file:

return [
    'engine' => env('CAPTCHA_ENGINE', 'mews'),
];

Usage

Usage with mews/captcha

public function form(Form $form): Form
{
    return $form->schema([
        Captcha::make('captcha')
            ->rules(['captcha'])
            ->required()
            ->validationMessages([
                'captcha'  =>  __('Captcha does not match the image'),
            ]),
        ]);
    }

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-01-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固