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

ActiveLibrary

kashif/captcha
==============

This is easy to use captcha package for Laravel

v1.0.1(3y ago)420MITPHPPHP ^7.3|^8.0

Since Sep 2Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Ch-Kashif171/captcha)[ Packagist](https://packagist.org/packages/kashif/captcha)[ RSS](/packages/kashif-captcha/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (4)Used By (0)

Captcha
=======

[](#captcha)

Captcha is a simple easy to use package for Laravel.

Getting Started
===============

[](#getting-started)

installing Captcha Composer Package Note: If you do not have Composer yet, you can install it by following the instructions on

Step 1. Install package
=======================

[](#step-1-install-package)

```
composer require kashif/captcha

```

Step 2. Register the Captcha service provider
=============================================

[](#step-2-register-the-captcha-service-provider)

in config/app.php add following line

```
 Kashif\Captcha\CaptchaServiceProvider::class,
```

#### Publish Assets

[](#publish-assets)

To publish the assets run the below command.

```
 php artisan vendor:publish --tag=kashif

```

Using Captcha:
==============

[](#using-captcha)

In Controller include and call captcha facade and send variable to view and print this variable in view as below

```
  use Kashif\Captcha\Captcha;
  $captcha = Captcha::render();
  return view('view',compact('captcha'));

  {!! $captcha !!}
```

If you want to use a helper function to create the captcha use below function.

```
  captcha();
```

Also a directive is available to render captcha in balde view, for this we just need to add below directive into the blade.

```
  @captcha
```

Verify Captcha:
===============

[](#verify-captcha)

To verify captcha text you need to call verify facade in controller and pass the text entered by user and it will return ture or false.

```
  Captcha::verify("captcha text");

```

A helper function is also available to verify the captcha

```
   captcha_verify("captcha text");
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.5% 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 ~0 days

Total

3

Last Release

1351d ago

Major Versions

0.1.0.x-dev → v1.0.12022-09-02

### Community

Maintainers

![](https://www.gravatar.com/avatar/73ca1ff4fdae6d345a63d4b9291a77a1e92fdf97e530af57b239a35401e47144?d=identicon)[Ch-Kashif171](/maintainers/Ch-Kashif171)

---

Top Contributors

[![ch-kashif171](https://avatars.githubusercontent.com/u/10650083?v=4)](https://github.com/ch-kashif171 "ch-kashif171 (37 commits)")[![stepinsolution](https://avatars.githubusercontent.com/u/48949809?v=4)](https://github.com/stepinsolution "stepinsolution (3 commits)")

### Embed Badge

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

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

PHPackages © 2026

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