Support the ongoing development of Laravel.io →
Views Forms Mail
Last updated 1 year ago.
0

Boah....

Last updated 1 year ago.
0

hallo..

Last updated 1 year ago.
0

Create a random code and save it somewhere like a hidden text in your form or store it in a session, now create an image with the code with the following function:

http://nl1.php.net/imagettftext

Hope that helped you!

Last updated 1 year ago.
0

https://www.google.com/recaptcha

Developing your own captcha solution is very difficult to get right, you're much better off going with a pre-built solution such as recaptcha.

Last updated 1 year ago.
0

I Just published a simple captcha package for laravel 5 .

Check it out here : Simple Captcha package for Laravel 5

Works like a charm. :-)

0

You can use Google's reCAPTCHA to integrate Captcha on your Laravel website's contact form. You will only need to install 2 packages. It also comperatively easy to implement. I saw a tutorial on this. Here is the link: https://www.cloudways.com/blog/use-recaptcha-laravel-forms-val...

0

If you want to create simple captcha code then this link can help you : https://itsolutionstuff.com/post/how-to-create-captcha-code-in-laravel-5example.html

Thank you

0

I think we should use captcha code on our registration form because captcha code prevent spams, bots etc. Most of the application we need to use captcha varification because it very important for security reason. There are several library to generate captcha image in Laravel.

In first step we will install captcha-com/laravel-captcha package for generate captcha code image. this package through we can generate generate captcha code image for our project. so first fire bellow command in your cmd or terminal:

composer require captcha-com/laravel-captcha:"4.*"

resources/views/webRegister.blade.php

<div class="col-md-6"> {!! captcha_image_html('ContactCaptcha') !!} <input class="form-control" type="text" id="CaptchaCode" name="CaptchaCode" style="margin-top:5px;">
@if ($errors->has('CaptchaCode'))
    <span class="help-block">
        <strong>{{ $errors->first('CaptchaCode') }}</strong>
    </span>
@endif
</div>

By:Xtreem Solution

Highly Skilled Laravel Developer

Dedicated PHP Developer

0

Sign in to participate in this thread!

Eventy

Your banner here too?

wiyono wiyono Joined 3 Feb 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.