PHPackages                             dominion-solutions/filament-captcha - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Validation &amp; Sanitization](/categories/validation)
4. /
5. dominion-solutions/filament-captcha

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

dominion-solutions/filament-captcha
===================================

CAPTCHA Plugin for Filament

0.2.0(8mo ago)47.3k↑58.3%2[2 issues](https://github.com/dominion-solutions/filament-captcha/issues)[3 PRs](https://github.com/dominion-solutions/filament-captcha/pulls)1MITPHPPHP ^8.1CI passing

Since Jan 26Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/dominion-solutions/filament-captcha)[ Packagist](https://packagist.org/packages/dominion-solutions/filament-captcha)[ Docs](https://github.com/dominion-solutions/filament-captcha)[ Fund](https://opencollective.com/captcha-for-filament)[ RSS](/packages/dominion-solutions-filament-captcha/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (16)Versions (8)Used By (1)

CAPTCHA Plugin for Filament
===========================

[](#captcha-plugin-for-filament)

[![Latest Version on Packagist](https://camo.githubusercontent.com/59458c5c28f38a64c4fdd63d32e5fd223b5e61d63418837b6a7b287a0e81cd81/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f646f6d696e696f6e2d736f6c7574696f6e732f66696c616d656e742d636170746368612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/dominion-solutions/filament-captcha)[![GitHub Tests Action Status](https://camo.githubusercontent.com/953816e1de8d941b3992ae884944fd0086e6192e04b7052e15021a844f9a4739/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f646f6d696e696f6e2d736f6c7574696f6e732f66696c616d656e742d636170746368612f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/dominion-solutions/filament-captcha/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/260ce2e98701ec5cbfedb847cd5dd2ea01360c05ca772f88f985e6618a5af5e8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f646f6d696e696f6e2d736f6c7574696f6e732f66696c616d656e742d636170746368612f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/dominion-solutions/filament-captcha/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/5d3cbc1ffdc0fa30062de99a9c2ffa6aae01a1cc7bc8dc6d2579e7b5b2c8b22b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f646f6d696e696f6e2d736f6c7574696f6e732f66696c616d656e742d636170746368612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/dominion-solutions/filament-captcha)

CAPTCHA Support in Filament!

[Skip to Installation](#installation)

### What Is CAPTCHA?

[](#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?

[](#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
------------

[](#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:

ProviderComposer PackageInstall Instructions{m’e} Web Studio Captcha`composer require mews/captcha`[Installation](https://github.com/mewebstudio/captcha?tab=readme-ov-file#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)

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
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Mark J. Horninger](https://github.com/dominion-solutions)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance59

Moderate activity, may be stable

Popularity29

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 76.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~290 days

Total

3

Last Release

263d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d7a0a7cba6a7a446fcf83e9042d7e57bee231f30cc8498281d323759d5a6153e?d=identicon)[dominion-solutions-llc](/maintainers/dominion-solutions-llc)

---

Top Contributors

[![spam-n-eggs](https://avatars.githubusercontent.com/u/13180040?v=4)](https://github.com/spam-n-eggs "spam-n-eggs (10 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")

---

Tags

filament-formfilament-pluginfilamentphpfilamentphp-pluginhelp-wantedphp82laravelcaptchadominion-solutionsfilament-captcha

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/dominion-solutions-filament-captcha/health.svg)

```
[![Health](https://phpackages.com/badges/dominion-solutions-filament-captcha/health.svg)](https://phpackages.com/packages/dominion-solutions-filament-captcha)
```

###  Alternatives

[guava/filament-knowledge-base

A filament plugin that adds a knowledge base and help to your filament panel(s).

206120.5k1](/packages/guava-filament-knowledge-base)[abanoubnassem/filament-grecaptcha-field

Provides a Google reCaptcha V2 field for the Filament Forms

27116.1k2](/packages/abanoubnassem-filament-grecaptcha-field)[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[bezhansalleh/filament-plugin-essentials

A collection of essential traits that streamline Filament plugin development by taking care of the boilerplate, so you can focus on shipping real features faster

27584.7k16](/packages/bezhansalleh-filament-plugin-essentials)[ziming/laravel-zxcvbn

Zxcvbn Password validation rule for Laravel

3056.7k](/packages/ziming-laravel-zxcvbn)[guava/filament-modal-relation-managers

Allows you to embed relation managers inside filament modals.

7565.0k4](/packages/guava-filament-modal-relation-managers)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
