PHPackages                             gourabsutradhar/secureimage - 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. gourabsutradhar/secureimage

ActiveLibrary[Security](/categories/security)

gourabsutradhar/secureimage
===========================

A simple captcha package for laravel

v1.0.3(1y ago)112MITPHPPHP ^7.2|^8.1|^8.2|^8.3

Since Sep 15Pushed 1y ago1 watchersCompare

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

READMEChangelog (4)Dependencies (5)Versions (5)Used By (0)

A captcha for laravel framework.

Setup
=====

[](#setup)

Require this package with composer:

```
composer require gourabsutradhar/secureimage

```

To use your own settings, publish config using the command

```
php artisan vendor:publish

```

Add `Gourabsutradhar\SecureImage\SecireImageServiceProvoder` to `config\app.php` file.

Web route
=========

[](#web-route)

### Show a captcha

[](#show-a-captcha)

use the `secureimage_base64()` to show an image.it returns base 64 string of image.

```

@csrf

```

### Verify it

[](#verify-it)

here is example code to verify a image in web route

```
 $validator=Validator::make(request()->all(),['code'=>'secureimage_web']);
```

API
===

[](#api)

### Show a captcha

[](#show-a-captcha-1)

Api route \[path : api/secureimage, name : secureimage.api\] returns json data with 2 key named 'image' and 'key'. the 'image' key is base64 string representation of the image and 'key' is key of image. Save the 'key' value to verify it. send user typed code and the 'key' value to your server. here is example verification code.

```
 $validator=Validator::make(request()->all(),['code'=>'secureimage_api:'.$request->key]);
```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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 ~91 days

Total

4

Last Release

697d ago

PHP version history (2 changes)v1.0.0PHP ^7.2|^8.0

v1.0.3PHP ^7.2|^8.1|^8.2|^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/299cbfd9f37c60eb5cf02f0fedc9a4eebf3e5f398a99a2a2a00815914a431dcd?d=identicon)[gourabsutradhar](/maintainers/gourabsutradhar)

---

Top Contributors

[![gourabsutradhar](https://avatars.githubusercontent.com/u/69720873?v=4)](https://github.com/gourabsutradhar "gourabsutradhar (6 commits)")

---

Tags

laravelsecuritycaptchabot

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/gourabsutradhar-secureimage/health.svg)

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

###  Alternatives

[mews/captcha

Laravel 5/6/7/8/9/10/11/12 Captcha Package

2.6k5.5M84](/packages/mews-captcha)[gregwar/captcha-bundle

Captcha bundle

3524.7M32](/packages/gregwar-captcha-bundle)[tzsk/otp

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

241641.4k1](/packages/tzsk-otp)[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)

PHPackages © 2026

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