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

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

buzz/laravel-h-captcha
======================

hCaptcha for Laravel

v1.0.6(1y ago)20154.0k—1.5%5[1 PRs](https://github.com/thinhbuzz/laravel-h-captcha/pulls)1MITPHPPHP &gt;=5.4.0

Since Apr 21Pushed 1y ago2 watchersCompare

[ Source](https://github.com/thinhbuzz/laravel-h-captcha)[ Packagist](https://packagist.org/packages/buzz/laravel-h-captcha)[ Docs](https://github.com/thinhbuzz/laravel-h-captcha)[ RSS](/packages/buzz-laravel-h-captcha/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (2)Versions (8)Used By (1)

[hCaptcha](https://www.hcaptcha.com) for Laravel
================================================

[](#hcaptcha-for-laravel)

Features
--------

[](#features)

- Support Laravel 5/6/7/8/9/10/11/12
- Multiple captcha on page
- Reset captcha
- Auto discover service provider
- Custom request method
- Using difference key
- Dynamic options on runtime

Installation
------------

[](#installation)

Add the following line to the `require` section of `composer.json`:

```
{
    "require": {
        "buzz/laravel-h-captcha": "2.*"
    }
}
```

OR

Require this package with composer:

```
composer require buzz/laravel-h-captcha

```

Update your packages with `composer update` or install with `composer install`.

Setup
-----

[](#setup)

> Has support auto discover for Laravel &gt;=5.5

Add ServiceProvider to the `providers` array in `config/app.php`.

```
'Buzz\LaravelHCaptcha\CaptchaServiceProvider',

```

Publish Config
--------------

[](#publish-config)

```
php artisan vendor:publish --provider="Buzz\LaravelHCaptcha\CaptchaServiceProvider"

```

### Custom http client

[](#custom-http-client)

Edit `http_client` in the `config/captcha.php` config

file `config/captcha.php`

```
