Download the PHP package goedemiddag/laravel-recaptcha without Composer
On this page you can find all versions of the php package goedemiddag/laravel-recaptcha. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download goedemiddag/laravel-recaptcha
More information about goedemiddag/laravel-recaptcha
Files in goedemiddag/laravel-recaptcha
Package laravel-recaptcha
Short Description A simple and easy to use Google ReCaptcha v3 package for Laravel
License MIT
Informations about the package laravel-recaptcha
Laravel ReCAPTCHA
This is a Laravel package for Google reCAPTCHA v3.
Installation
You can install the package via composer:
Add the following environment variables to your .env
file:
Config
You can optionally publish the config file:
This is the contents of the published config file:
Translations
This package offers Dutch and English translations by default. You can optionally publish the translations:
Usage
This package aims to provide the Google ReCaptcha v3 validation in the backend of your application and offers some tools to use it in the frontend.
Quick start
Add the <x-recaptcha::input />
blade component to your form:
Add the <x-recaptcha::script />
blade component to your end of your layout:
Bind an event listener to the form submit event, please adjust this for your application:
Add the ReCaptchaRule
to your form request:
Contributing
Found a bug or want to add a new feature? Great! There are also many other ways to make meaningful contributions such as reviewing outstanding pull requests and writing documentation. Even opening an issue for a bug you found is appreciated.
When you create a pull request, make sure it is tested, following the code standard (run composer pint:fix
to take care of that for you) and please create one pull request per feature. In exchange, you will be credited as contributor.