PHPackages                             angus-dv/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. angus-dv/captcha

ActiveLibrary[Security](/categories/security)

angus-dv/captcha
================

CAPTCHA (Completely Automated Public Turing test to tell Computers and Humans Apart) is a security measure used to determine whether a user is a human or a bot. It helps prevent automated software from abusing online services, protecting websites from spam, fraud, and other malicious activities.

1.1.6(8mo ago)5122MITPHP

Since Oct 6Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/AngusDV/captcha)[ Packagist](https://packagist.org/packages/angus-dv/captcha)[ RSS](/packages/angus-dv-captcha/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (11)Used By (0)

ACaptcha
========

[](#acaptcha)

ACaptcha is a smart CAPTCHA solution designed to provide an easy and secure way to protect your web forms, similar to Google reCAPTCHA v2. Built with Laravel, ACaptcha is lightweight and user-friendly.

[![show](./docs/img.png)](./docs/img.png)

Features
--------

[](#features)

- **Smart CAPTCHA**: Advanced algorithms to distinguish between human users and bots.
- **Easy Integration**: Simple to implement in your Laravel forms.
- **Customizable**: Publish your own JavaScript, CSS, and images for masks and backgrounds.
- **Confusable Design**: The masked images are crafted to be visually complex, making them difficult for OCR (Optical Character Recognition) systems to detect while remaining user-friendly for human interaction..

Installation
------------

[](#installation)

1. **Install ACaptcha** via Composer:

```
composer require angus-dv/captcha

```

2. **Publish Assets**:

After installation, you need to publish the necessary JavaScript, CSS, and image assets:

```
php artisan vendor:publish --tag=acaptcha

```

Usage
-----

[](#usage)

### 1. Displaying the CAPTCHA

[](#1-displaying-the-captcha)

To include the CAPTCHA in your form, simply use the following HTML code:

```

 @include('ACaptcha::show')

```

### 2. Verifying the CAPTCHA

[](#2-verifying-the-captcha)

You can verify the CAPTCHA on the backend using Laravel's validation rules. Use the `ACaptchaVerify` rule in your validation logic:

```
$request->validate([
	'a_captcha_hash_salt' => ['required', 'a_captcha_verify'],
 ]);

 or

$request->validate([
	'a_captcha_hash_salt' => ['required', new ACaptchaVerify],
 ]);

```

Alternatively, you can use the helper function to verify the CAPTCHA:

```
if (a_captcha_verify($request->input('a_captcha_hash_salt'))) {
	// CAPTCHA verified successfully
} else {
	 // CAPTCHA verification failed
}

```

Conclusion
----------

[](#conclusion)

ACaptcha is designed to be straightforward and powerful, making it a great addition to your Laravel application. Protect your forms and enhance security with minimal effort!

For further support or contributions, feel free to reach out or check the issues page.

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance61

Regular maintenance activity

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~37 days

Recently: every ~81 days

Total

10

Last Release

243d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/40d6f1d20980036a861daddcf3eea18ac7b2a2bde4f81a4d05c07af410df195b?d=identicon)[marooj](/maintainers/marooj)

---

Top Contributors

[![AngusDV](https://avatars.githubusercontent.com/u/5556823?v=4)](https://github.com/AngusDV "AngusDV (19 commits)")

### Embed Badge

![Health badge](/badges/angus-dv-captcha/health.svg)

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

###  Alternatives

[illuminate/encryption

The Illuminate Encryption package.

9229.7M278](/packages/illuminate-encryption)[tzsk/otp

A secure, database-free One-Time Password (OTP) generator and verifier for PHP and Laravel.

241641.4k1](/packages/tzsk-otp)[genealabs/laravel-governor

Managing policy and control in Laravel.

201262.8k](/packages/genealabs-laravel-governor)[dgtlss/warden

A Laravel package that proactively monitors your dependencies for security vulnerabilities by running automated composer audits and sending notifications via webhooks and email

8745.6k](/packages/dgtlss-warden)[ercsctt/laravel-file-encryption

Secure file encryption and decryption for Laravel applications

642.6k](/packages/ercsctt-laravel-file-encryption)[laragear/poke

Keep your forms alive, avoid TokenMismatchException by gently poking your Laravel app

2211.5k](/packages/laragear-poke)

PHPackages © 2026

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