PHPackages                             jbrathod/math-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. jbrathod/math-captcha

ActiveProject

jbrathod/math-captcha
=====================

A captcha that uses multiple time in one website

022PHP

Since Aug 2Pushed 3y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

A simple math captcha for Laravel5
==================================

[](#a-simple-math-captcha-for-laravel5)

A captcha that will be used for multiple pages/places in single website.

Installation Guide
==================

[](#installation-guide)

```
composer require jbrathod/math-captcha

```

Find the `providers` key in `config/app.php` and register the Captcha Service Provider.

```
    'providers' => [
        // ...
        'Jbrathod\MathCaptcha\MathCaptchaServiceProvider',
    ]
```

for Laravel 5.1+

```
    'providers' => [
        // ...
        Jbrathod\MathCaptcha\MathCaptchaServiceProvider::class,
    ]
```

Usage
=====

[](#usage)

### Add captcha image to form (Note : "contact-us" is page name)

[](#add-captcha-image-to-form-note--contact-us-is-page-name)

```

```

### Validate captcha

[](#validate-captcha)

Add `'captcha' => 'required|mathcaptcha:contact-us'` to rules array.

```
$this->validate($request, [
    'captcha' => 'required|mathcaptcha:contact-us',
]);
```

### Reset captcha after form submit without errors

[](#reset-captcha-after-form-submit-without-errors)

```
app('mathcaptcha')->reset('contact-us');
```

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/eef9b44efdd5a883a900848dff7872b6209b189b6fc7b70ff7ce02d87c7ef595?d=identicon)[jigneshsinh](/maintainers/jigneshsinh)

---

Top Contributors

[![jbrathod](https://avatars.githubusercontent.com/u/35226437?v=4)](https://github.com/jbrathod "jbrathod (1 commits)")

### Embed Badge

![Health badge](/badges/jbrathod-math-captcha/health.svg)

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

PHPackages © 2026

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