PHPackages                             karim007/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. [Security](/categories/security)
4. /
5. karim007/laravel-captcha

ActiveLibrary[Security](/categories/security)

karim007/laravel-captcha
========================

Captcha integration for laravel

v2.1(1y ago)4219MITPHP

Since Dec 15Pushed 1y ago1 watchersCompare

[ Source](https://github.com/karim-007/laravel-captcha)[ Packagist](https://packagist.org/packages/karim007/laravel-captcha)[ RSS](/packages/karim007-laravel-captcha/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (7)DependenciesVersions (8)Used By (0)

Captcha integration for the Laravel 9 and bellow
================================================

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

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 karim007/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' => [
    ...
    Karim007\LaravelCaptcha\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)

For video tutorial click the image bellow or

[![laravel captcha](https://camo.githubusercontent.com/851cd40a48307ad2695a2770e57b676250110bbdf970052f276e96b5e7f4fdcd/68747470733a2f2f696d672e796f75747562652e636f6d2f76692f3965675478546736646b772f687164656661756c742e6a7067)](https://youtu.be/9egTxTg6dkw)

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

[](#using-laravel-captcha)

Add this in your blade file

```
...
@captcha

 ...
```

For validation add this in your controller

```
