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(2y ago)112MITPHPPHP ^7.2|^8.1|^8.2|^8.3

Since Sep 15Pushed 2y ago1 watchersCompare

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

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

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

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

749d 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://avatars.githubusercontent.com/u/69720873?v=4)[Gourab Sutradhar](/maintainers/gourabsutradhar)[@gourabsutradhar](https://github.com/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.8M89](/packages/mews-captcha)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M130](/packages/roots-acorn)[flarum/core

Delightfully simple forum software.

201.4M2.3k](/packages/flarum-core)[propaganistas/laravel-disposable-email

Disposable email validator

6023.0M7](/packages/propaganistas-laravel-disposable-email)[api-platform/laravel

API Platform support for Laravel

58170.8k13](/packages/api-platform-laravel)

PHPackages © 2026

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