PHPackages                             dereuromark/cakephp-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. [Security](/categories/security)
4. /
5. dereuromark/cakephp-captcha

ActiveCakephp-plugin[Security](/categories/security)

dereuromark/cakephp-captcha
===========================

A CakePHP plugin to integrate captchas.

2.3.1(3mo ago)842.3k↓11.1%122MITPHPPHP &gt;=8.2CI passing

Since Sep 22Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/dereuromark/cakephp-captcha)[ Packagist](https://packagist.org/packages/dereuromark/cakephp-captcha)[ Docs](https://github.com/dereuromark/cakephp-captcha)[ RSS](/packages/dereuromark-cakephp-captcha/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (28)Used By (2)

Captcha Plugin for CakePHP
==========================

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

[![CI](https://github.com/dereuromark/cakephp-captcha/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/dereuromark/cakephp-captcha/actions/workflows/ci.yml?query=branch%3Amaster)[![Coverage Status](https://camo.githubusercontent.com/0a006c554eca45b6abca4e7753a6e25bb1b3867e7504ed008c8cbc18c40ff121/68747470733a2f2f636f6465636f762e696f2f67682f6465726575726f6d61726b2f63616b657068702d636170746368612f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/dereuromark/cakephp-captcha)[![PHPStan](https://camo.githubusercontent.com/f60d96f7c2579690ab6dfa8918f777fe93a02a92301c661eb38a85861a92b780/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d6c6576656c253230382d627269676874677265656e2e7376673f7374796c653d666c6174)](https://phpstan.org/)[![Latest Stable Version](https://camo.githubusercontent.com/baa8cac3d2b24bde937faeec8f43b2d465d28eae9f907bf73e2a60239971ac18/68747470733a2f2f706f7365722e707567782e6f72672f6465726575726f6d61726b2f63616b657068702d636170746368612f762f737461626c652e737667)](https://packagist.org/packages/dereuromark/cakephp-captcha)[![Minimum PHP Version](https://camo.githubusercontent.com/ec21f169d70b69344c67d6f18fa1a24d20476d2f0cd680e8c4a1534c22f34e5f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230382e322d3838393242462e737667)](https://php.net/)[![License](https://camo.githubusercontent.com/d11e2eb8c454ae6fa58a029ef868a45deb717f7b4a464c710bb32bde65f73983/68747470733a2f2f706f7365722e707567782e6f72672f6465726575726f6d61726b2f63616b657068702d636170746368612f6c6963656e73652e737667)](LICENSE)[![Total Downloads](https://camo.githubusercontent.com/09a82068a2ca9731a982347ef1c4dca48f3fced83b0815d2e09f68a00640db8a/68747470733a2f2f706f7365722e707567782e6f72672f6465726575726f6d61726b2f63616b657068702d636170746368612f642f746f74616c2e737667)](https://packagist.org/packages/dereuromark/cakephp-captcha)[![Coding Standards](https://camo.githubusercontent.com/dbabe22710e675cb88cd0b12196f1477e2376dea497332775692cf1359a75918/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f63732d5053522d2d322d2d522d79656c6c6f772e737667)](https://github.com/php-fig-rectified/fig-rectified-standards)

Allows any type of image-based captchas for your forms.

A CakePHP plugin to
-------------------

[](#a-cakephp-plugin-to)

- Easily integrate captchas in your CakePHP application.

This plugin requires **CakePHP 5.1+**. See [version map](https://github.com/dereuromark/cakephp-captcha/wiki#cakephp-version-map) for details.

### What's in this plugin

[](#whats-in-this-plugin)

- Simple match captchas that will already do the trick without annoying "I can't read those letters".
- Passive captcha option for basic protection without requiring user input ("honeypot trap").
- Extendable interface approach to easily hook in your own engine.

### What are the gotchas

[](#what-are-the-gotchas)

- Dead simple, no fancy JS or alike.
- Cross-tab safe (not session based as in overwriting each other per request).
- Completely stand-alone plugin, no third party stuff involved/needed.

Demo
----

[](#demo)

See

Setup
-----

[](#setup)

```
composer require dereuromark/cakephp-captcha

```

and

```
bin/cake plugin load Captcha

```

or manually add it to your `plugins.php` or `Application::bootstrap()` setup.

For active captchas you also need to import the SQL schema. The quickest way is using Migrations plugin:

```
bin/cake migrations migrate -p Captcha

```

For the match captcha, make sure you got the gd lib installed:

- `sudo apt-get install php{version}-gd`

Usage
-----

[](#usage)

See [Docs](docs/).

###  Health Score

61

—

FairBetter than 99% of packages

Maintenance85

Actively maintained with recent releases

Popularity37

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity86

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 95.1% 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 ~133 days

Recently: every ~144 days

Total

24

Last Release

94d ago

Major Versions

0.1.4 → 1.0.0-beta2020-01-09

1.4.0 → 2.0.02023-10-10

PHP version history (6 changes)0.1.0PHP &gt;=5.6

1.0.0-betaPHP &gt;=7.2

1.1.2PHP &gt;=7.3

1.3.0PHP &gt;=7.4

2.0.0PHP &gt;=8.1

2.3.1PHP &gt;=8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/39854?v=4)[Mark Scherer](/maintainers/dereuromark)[@dereuromark](https://github.com/dereuromark)

---

Top Contributors

[![dereuromark](https://avatars.githubusercontent.com/u/39854?v=4)](https://github.com/dereuromark "dereuromark (235 commits)")[![zachee54](https://avatars.githubusercontent.com/u/42939319?v=4)](https://github.com/zachee54 "zachee54 (5 commits)")[![asgraf](https://avatars.githubusercontent.com/u/1997264?v=4)](https://github.com/asgraf "asgraf (3 commits)")[![idfake](https://avatars.githubusercontent.com/u/11500620?v=4)](https://github.com/idfake "idfake (2 commits)")[![challgren](https://avatars.githubusercontent.com/u/88909?v=4)](https://github.com/challgren "challgren (1 commits)")[![Indianer3c](https://avatars.githubusercontent.com/u/496884?v=4)](https://github.com/Indianer3c "Indianer3c (1 commits)")

---

Tags

cakephpcakephp-plugincaptchapluginsecuritycakephpcaptchas

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dereuromark-cakephp-captcha/health.svg)

```
[![Health](https://phpackages.com/badges/dereuromark-cakephp-captcha/health.svg)](https://phpackages.com/packages/dereuromark-cakephp-captcha)
```

PHPackages © 2026

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