PHPackages                             kmlpandey77/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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. kmlpandey77/math-captcha

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

kmlpandey77/math-captcha
========================

A Simple PHP Math Captcha

1.0.2(3y ago)87141MITPHP

Since Jan 17Pushed 3y ago1 watchersCompare

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

READMEChangelog (3)DependenciesVersions (4)Used By (0)

MathCaptcha
===========

[](#mathcaptcha)

A Simple PHP Math Captcha

Preview
-------

[](#preview)

### Math in Image

[](#math-in-image)

[![A Simple PHP Math Captcha](https://raw.githubusercontent.com/kmlpandey77/MathCaptcha/master/PreviewImage.png "Captcha Preview")](https://raw.githubusercontent.com/kmlpandey77/MathCaptcha/master/PreviewImage.png)

### Math in Text

[](#math-in-text)

[![A Simple PHP Math Captcha](https://raw.githubusercontent.com/kmlpandey77/MathCaptcha/master/PreviewText.png "Captcha Preview")](https://raw.githubusercontent.com/kmlpandey77/MathCaptcha/master/PreviewText.png)

Usage
-----

[](#usage)

```
composer require kmlpandey77/math-captcha

```

### Math in Image

[](#math-in-image-1)

It will return Math in image

Create `captcha.php`

```

```

And place this code in `body`

```

        Answer it

    Submit

```

### Check

[](#check)

Checks to see if the user entered the correct captcha key

Create `check.php`

```
