markdown 在Laravel中使用验证实现Recaptcha:https://www.cloudways.com/blog/use-recaptcha-laravel-forms-validat

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown 在Laravel中使用验证实现Recaptcha:https://www.cloudways.com/blog/use-recaptcha-laravel-forms-validat相关的知识,希望对你有一定的参考价值。

Get Necessary Packages
Let’s get the necessary classes we will require to make things possible. I’ll be using Composer to bring down the packages:

```
$ composer requireanhskohbo/no-captcha
```


Set up Configurations
We are going to edit the app.php file.

Insert these lines in “providers” array:

```
 Anhskohbo\NoCaptcha\NoCaptchaServiceProvider::class,
```

Now, let’s setup our secret keys. Go to this link, and enter your domain address, like I have shown in image below, to grab your “secret key” and “site key”.

Make changes to your “.env” file:

Insert these lines:

```
NOCAPTCHA_SECRET= PUT YOUR SECRET KEY HERE

NOCAPTCHA_SITEKEY= PUT YOUR SITE KEY HERE
```

Read more at: [Recaptcha with Validation Laravel](https://www.cloudways.com/blog/use-recaptcha-laravel-forms-validation/)

以上是关于markdown 在Laravel中使用验证实现Recaptcha:https://www.cloudways.com/blog/use-recaptcha-laravel-forms-validat的主要内容,如果未能解决你的问题,请参考以下文章

使用 R Markdown 文档中的 bigrquery 对 Bigquery 进行身份验证

[麦先生]在Laravel框架里实现邮箱验证---发送邮件

laravel+阿里大于实现发送验证码短信

markdown Laravel的可分页Collection实现

在我的 laravel 应用程序中,验证错误不会显示在视图中。我怎样才能实现它?

Laravel,如何验证枚举列