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

1.0.0(3w ago)58.1k↑26.6%2[2 issues](https://github.com/dominion-solutions/filament-captcha/issues)[3 PRs](https://github.com/dominion-solutions/filament-captcha/pulls)1MITPHPPHP ^8.2 | ^8.3 | ^8.4 | ^8.5CI passing

Since Jan 26Pushed 3w 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://donate.stripe.com/3cI5kEeeC9B6fTJfkc48005)[ RSS](/packages/dominion-solutions-filament-captcha/feed)WikiDiscussions main Synced 2w ago

READMEChangelog (4)Dependencies (30)Versions (9)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

52

—

FairBetter than 96% of packages

Maintenance87

Actively maintained with recent releases

Popularity29

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 78.6% 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 ~304 days

Total

4

Last Release

24d ago

Major Versions

0.2.0 → 1.0.02026-07-27

PHP version history (2 changes)0.0.1PHP ^8.1

1.0.0PHP ^8.2 | ^8.3 | ^8.4 | ^8.5

### 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 (11 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

[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3915.5k](/packages/rawilk-profile-filament-plugin)[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

329575.9k35](/packages/codewithdennis-filament-select-tree)[backstage/mails

View logged mails and events in a beautiful Filament UI.

16429.7k](/packages/backstage-mails)[finity-labs/fin-mail

A powerful email template manager and composer for Filament with dynamic token replacement, template versioning, and inline email sending.

316.8k2](/packages/finity-labs-fin-mail)[stephenjude/filament-jetstream

A Laravel starter kit built with Filament inspired by Jetstream.

17861.9k3](/packages/stephenjude-filament-jetstream)[stephenjude/filament-debugger

About

104173.6k2](/packages/stephenjude-filament-debugger)

PHPackages © 2026

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