PHPackages                             codise/hclaravel - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. codise/hclaravel

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

codise/hclaravel
================

The service provide hcaptcha for Laravel

1.3.6(1y ago)411.1k—8.6%3MITPHPPHP ^8.0.2

Since Aug 18Pushed 1y ago1 watchersCompare

[ Source](https://github.com/tojorodialson/hc-laravel)[ Packagist](https://packagist.org/packages/codise/hclaravel)[ Docs](https://github.com/tojo-r27/hc-laravel)[ RSS](/packages/codise-hclaravel/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (10)Used By (0)

HC Laravel
==========

[](#hc-laravel)

HC Laravel is a package using hcaptcha for stopping bots ([hcaptcha.com](https://www.hcaptcha.com))

This package support Laravel 6, 7, 8 and 9.

Installation
============

[](#installation)

**Install the package**

```
composer require codise/hclaravel

```

**Publish the config**

```
php artisan vendor:publish --provider="Codise\Hclaravel\HcaptchaServiceProvider" --tag="config"

```

Configure **hcaptcha.php** in config folder. Add in environment `.env` variable the key of captcha

**Configure providers and aliases**

Add in `config/app.php` the follow line

```
'providers'  =>  [
	Codise\Hclaravel\HcaptchaServiceProvider::class,
]

'aliases' => [
    'Hcaptcha'  =>  Codise\Hclaravel\Hcaptcha::class
]

```

Usage
-----

[](#usage)

This package allows simply to use the captcha on your project without too much effort.

**Account**

Create an account on  for having `secret_key` and `site_key`

**Blade view**

`@include('hclaravel::captcha')`

**Controller**

```
 use Hcaptcha;
 //response
 $response = Hcaptcha::verify($request->get('h-captcha-response'));

 //add condition for response
 if($response->success){
     $msg = "Robot verification success";
 }else{
     $msg = "Robot verification failed";
 }

```

**License**

HC Laravel is open-source software licensed **MIT Licensed**

**Support**

If you have any suggestion or if you use this application and if you like support opensource, don't forget button below

[![ko-fi](https://camo.githubusercontent.com/201ef269611db7eb6b5d08e9f756ab8980df3014b64492770bdf13a6ed924641/68747470733a2f2f6b6f2d66692e636f6d2f696d672f676974687562627574746f6e5f736d2e737667)](https://ko-fi.com/J3J45B4PE)

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity65

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

Recently: every ~363 days

Total

9

Last Release

572d ago

PHP version history (3 changes)1.0PHP ^7.1

1.3.3PHP ^7.1|^8.0

1.3.6PHP ^8.0.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/329024aeed073b45c3edc96965560dd9579e2e7b1a05ceefa3125ea9e6eeb417?d=identicon)[tojo-r27](/maintainers/tojo-r27)

---

Top Contributors

[![tojorodialson](https://avatars.githubusercontent.com/u/15077325?v=4)](https://github.com/tojorodialson "tojorodialson (34 commits)")

---

Tags

laravelcaptchahcaptchacodise

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/codise-hclaravel/health.svg)

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

###  Alternatives

[anhskohbo/no-captcha

No CAPTCHA reCAPTCHA For Laravel.

1.8k8.5M33](/packages/anhskohbo-no-captcha)[josiasmontag/laravel-recaptchav3

Recaptcha V3 for Laravel package

2641.6M2](/packages/josiasmontag-laravel-recaptchav3)[buzz/laravel-google-captcha

Google captcha for Laravel

2071.1M2](/packages/buzz-laravel-google-captcha)[scyllaly/hcaptcha

hCaptcha for Laravel

56169.6k1](/packages/scyllaly-hcaptcha)[buzz/laravel-h-captcha

hCaptcha for Laravel

20154.0k1](/packages/buzz-laravel-h-captcha)[rvxlab/hcaptcha

hCaptcha for Laravel

237.2k](/packages/rvxlab-hcaptcha)

PHPackages © 2026

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