rahul900day/laravel-captcha

Different types of Captcha implementation for Laravel Application.
31,831 108
Install
composer require rahul900day/laravel-captcha
Latest Version:5.0.0
PHP:^8.2
License:MIT
Last Updated:Jun 19, 2026
Links: GitHub  ·  Packagist
Maintainer: rahul900day

Laravel Captcha is a wrapper around Turnstile, HCaptcha & Google Recaptcha. It provides very easy-to-use Facade, Validation Rule, and laravel components.

Requires PHP 8.2+

Quick Start

  1. Install via Composer:
composer require rahul900day/laravel-captcha
  1. Publish the config file with:
php artisan vendor:publish --tag="captcha-config"
  1. Add required configuration to .env file:
CAPTCHA_DRIVER=turnstile
CAPTCHA_SITE_KEY="{Your Site Key}"
CAPTCHA_SECRET_KEY="{Your Site Secret}"
  1. Display the Captcha
<head>
    <x-captcha-js />
</head>
<body>
  <form action="" method="post">
      <x-captcha-container />
  </form>
</body>

Please read the full documentation on https://laravel-captcha.rahuldey.dev/

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

Sponsors

License

The MIT License (MIT). Please see License File for more information.

Related Packages

code16/laravel-captcha

This is my package laravel-captcha

2,558 0
doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

637,827,751 9,703
laravel/framework

The Laravel Framework.

589,172,971 34,950
laravel/tinker

Powerful REPL for the Laravel framework.

498,216,183 7,442
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

413,412,504 609

Version History

Version Released PHP Laravel License
5.0.0 ^8.2 ^10.0|^11.0|^12.0|^13.0 MIT
4.1.0 ^8.2 ^10.0|^11.0|^12.0 MIT
4.0.0 ^8.1 ^10.0|^11.0|^12.0 MIT
3.0.0 ^8.1 ^10.0|^11.0 MIT
2.0.0 ^8.0 ^8.0|^9.0|^10.0 MIT