New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

dominion-solutions/filament-captcha

CAPTCHA Plugin for Filament
8,996 5
Install
composer require dominion-solutions/filament-captcha
Latest Version:1.0.0
PHP:^8.2 | ^8.3 | ^8.4 | ^8.5
Laravel:12 · 13
Older releases:10 · 11
License:MIT
Last Updated:Jul 27, 2026
Links: GitHub  ·  Packagist

CAPTCHA Plugin for Filament

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.

Related Packages

bonecms/laravel-captcha

Captcha integration for Laravel

147,316 76
eusonlito/captcha

A simple package to generate and check captchas

18,913 6
mehedi/laravel-captcha

Captcha integration for the Laravel 6

13,630 0
nikazooz/laravel-captcha

Laravel package to generate and validate CAPTCHA.

4,564 0
iorme/simplecaptcha

Create simple captcha using php

2,425 1

Version History

Version Released PHP Laravel License
1.0.0 ^8.2 | ^8.3 | ^8.4 | ^8.5 ^12.0|^13.0 MIT
0.2.0 ^8.1 ^10.0|^11.0|^12.0 MIT
0.1.0 ^8.1 ^10.0|^11.0 MIT
0.0.1 ^8.1 ^10.0 MIT