PHPackages                             hemroy/simplecaptcha - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. hemroy/simplecaptcha

ActivePhp-captcha[Utility &amp; Helpers](/categories/utility)

hemroy/simplecaptcha
====================

php captcha generator

v1.0.0(5y ago)028MITPHPPHP &gt;=7.0.0

Since Apr 30Pushed 5y ago1 watchersCompare

[ Source](https://github.com/hemroy21/simplecaptcha)[ Packagist](https://packagist.org/packages/hemroy/simplecaptcha)[ RSS](/packages/hemroy-simplecaptcha/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Description # simplecaptcha PHP based simple captcha package for quick implementation in php based web applcation.

Installation Composer Installation:

composer require hemroy/simplecaptcha

Usage This package is very easy to use. Two simple examples has been given inside test folder.

> > This library provides unique class Captcha, which provides some functions to build and generate captcha to use on webpage. Functions which can be used and available to use are discussed below.

- Captcha class : This is the main class which is need to be called to use the library. create an Captcha class instant as, $captcha=new Captcha();
- generate() : this method will generate a captcha using methods available through backgroundGenerator and stringGenerator class and pass the captcha to the calling class.
- getJpegCaptcha() : This method will provide the jpeg image of the captcha to use directly onto a webpage.
- getPngCaptcha() : This method will provide the Png image of the captcha to use directly onto a webpage.
- getRandomString(): the method will provide the captcha string to use or store into session variable/
- getImageData(): the method that will provide base64 encoded datastream of the image.

> > To know the Usage perfectly, go through the test folder.

license

This package is with MIT license.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

Unknown

Total

1

Last Release

1889d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e15565456a9b746663eec785ff9653207772cafb68270e585449c8fbd5dc1b85?d=identicon)[Hem Roy](/maintainers/Hem%20Roy)

---

Top Contributors

[![hemroy21](https://avatars.githubusercontent.com/u/83438329?v=4)](https://github.com/hemroy21 "hemroy21 (15 commits)")

---

Tags

phpspamcaptcha

### Embed Badge

![Health badge](/badges/hemroy-simplecaptcha/health.svg)

```
[![Health](https://phpackages.com/badges/hemroy-simplecaptcha/health.svg)](https://phpackages.com/packages/hemroy-simplecaptcha)
```

###  Alternatives

[webman/captcha

Captcha generator

1495.9k33](/packages/webman-captcha)

PHPackages © 2026

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