Looking to hire Laravel developers? Try LaraJobs

laravel-captcha maintained by zerosdev

Description
Captcha Generator for Laravel Framework
Last update
2020/01/25 11:18 (dev-master)
License
Downloads
746

Comments
comments powered by Disqus

Laravel Captcha

Laravel Captcha Generator

Requirements

  • PHP 5.6+
  • Laravel Framework 5.2+
  • GD Library enabled

Installation

  • Run
  • Add this code to your config/app.php in providers array
  • Add this code to your config/app.php in aliases array
  • Run
  • Run

Configuration

Open your config/captcha.php and adjust the setting. Optionally, you can adjust some captcha setting on-the-fly with available methods below:

chars(String)

Set the characters that will be used as captcha text

size(Integer width, Integer height)

Set the captcha image width and height in pixel (px)

length(Integer)

Set the captcha character length

Generation Example

Validation

Advise

It is recommended to avoid using the "0" (zero) and "O" characters in captcha to avoid being ambiguous