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

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

leonardcodep/laravel-captcha
============================

Captcha integration for the Laravel 9

v3.3.0(4y ago)015MITPHPPHP &gt;=7.2.0

Since Jul 21Pushed 4y agoCompare

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

READMEChangelog (1)Dependencies (7)Versions (14)Used By (0)

Captcha integration for the Laravel 9
=====================================

[](#captcha-integration-for-the-laravel-9)

Package information:

Installing Laravel Captcha Composer Package
-------------------------------------------

[](#installing-laravel-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 leonardcodep/laravel-captcha
```

#### Step 2 for Laravel 5.5 and below. Register the Laravel Captcha service provider

[](#step-2-for-laravel-55-and-below-register-the-laravel-captcha-service-provider)

{LARAVEL\_ROOT}/config/app.php:

```
'providers' => [
    ...
    Igoshev\Captcha\Providers\CaptchaServiceProvider::class,
],
```

Examples
--------

[](#examples)

[![example1](examples/image1.png)](examples/image1.png)[![example2](examples/image2.png)](examples/image2.png)[![example3](examples/image3.png)](examples/image3.png)[![example4](examples/image4.png)](examples/image4.png)[![example5](examples/image5.png)](examples/image5.png)[![example6](examples/image6.png)](examples/image6.png)[![example7](examples/image7.png)](examples/image7.png)[![example8](examples/image8.png)](examples/image8.png)[![example9](examples/image9.png)](examples/image9.png)[![example10](examples/image10.png)](examples/image10.png)[![example11](examples/image11.png)](examples/image11.png)[![example12](examples/image12.png)](examples/image12.png)

Using Laravel Captcha
---------------------

[](#using-laravel-captcha)

Generate a Captcha markup in your Controller:

```
