Download the PHP package talent-loom/laravel-recaptcha-v3 without Composer

On this page you can find all versions of the php package talent-loom/laravel-recaptcha-v3. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-recaptcha-v3

Logo

Laravel ReCAPTCHA V3 is a very simply-to-use Laravel 9.x | 10.x | 11.x package to embed Google reCAPTCHA in your application.

What is reCAPTCHA?

Google offers reCAPTCHA v3 and reCAPTCHA Enterprise to help you protect your sites from fraudulent activities, spam, and abuse. To know more about the features of reCAPTCHA and reCAPTCHA Enterprise, see Comparison of features between reCAPTCHA versions.

You can find further info at Google reCAPTCHA Developer's Guide

reCAPTCHA available versions

At this moment there are 3 versions available (for web applications):

Get your key first!

First of all you have to create your own API keys here

Follow the instructions and at the end of the process you will find Site key and Secret key. Keep them close..you will need soon!

System requirements

Package version reCaptcha version PHP version Laravel version
v9.0.0 v3 8.0.2 or greater 9.x
v10.0.0 v3 8.1 or greater 10.x
v11.0.0 v3 8.2 or greater 11.x

Composer

You can install the package via composer:

Configuration for LARAVEL 9.x | 10.x

Laravel 9.x or 10.x registered providers in config/app.php:

You can use the facade for shorter code. Add ReCaptchaV3 to your aliases:

Configuration for LARAVEL 11.x

Laravel 11.x registered providers in bootstrap/providers.php:

You can use the facade for shorter code. Add ReCaptchaV3 to your aliases in config/app.php:

Publish package

Create config/recaptchaV3.php configuration file using the following artisan command:

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

RECAPTCHA_V3_SITE_KEY

RECAPTCHA_V3_SECRET_KEY

Reload config cache file

!!! IMPORTANT !!! Every time you change some configuration run the following shell command:

Implementation

Add validation in request

Embed in Blade

Insert js() script before closing </head> tag.

You can also use ReCaptchaV3::js().

Now you can use ReCaptchaV3::execute('action', 'form id').

like:

Running Tests

To run tests, run the following command

Authors

Support

For support, email syedshazeedul@gmail.

License

MIT


All versions of laravel-recaptcha-v3 with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/support Version ^11.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package talent-loom/laravel-recaptcha-v3 contains the following files

Loading the files please wait ....