Download the PHP package justijndepover/laravel-google-recaptcha-v2 without Composer
On this page you can find all versions of the php package justijndepover/laravel-google-recaptcha-v2. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download justijndepover/laravel-google-recaptcha-v2
More information about justijndepover/laravel-google-recaptcha-v2
Files in justijndepover/laravel-google-recaptcha-v2
Package laravel-google-recaptcha-v2
Short Description Easily add Google Recaptcha V2 to your Laravel application forms
License MIT
Informations about the package laravel-google-recaptcha-v2
Laravel Google Recaptcha V2
Easily add Google Recaptcha V2 to your Laravel application forms
Caution
This application is still in development and could implement breaking changes. Please use at your own risk.
Explanation
This package adds an easy integration to implement google recaptcha v2 in your Laravel application and validate your request.
Installation
You can install the package with composer
After installation you can optionally publish your configuration file
configuration
This is the config file
The package has a default option to skip validation in local development
Usage
include the following API keys in your .env
files:
include the following in your app layout to render the recaptcha:
Because some js frameworks (like Vue) don't allow to have script tags inside your components, this line is required as well:
After that, your request can be validated with the recaptcha
validation rule:
Security
If you find any security related issues, please open an issue or contact me directly at [email protected].
Contribution
If you wish to make any changes or improvements to the package, feel free to make a pull request.
License
The MIT License (MIT). Please see License File for more information.