Looking to hire Laravel developers? Try LaraJobs

laravel-captcha maintained by rahul900day

Description
Different types of Captcha implementation for Laravel Application.
Author
Last update
2026/03/28 00:12 (dev-dependabot/github_actions/dependabot/fetch-metadata-3.0.0)
License
Downloads
16 930

Comments
comments powered by Disqus

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.