ghaninia/captcha

A simple Laravel service provider for including the Captcha for Laravel.

Installs: 40

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Type:package

v0.1.0 2020-12-16 07:08 UTC

This package is auto-updated.

Last update: 2025-03-11 03:08:00 UTC


README

Captcha

Installation

Enter the following command to install Captcha

$ composer require ghaninia/captcha

Now you have to add the package to your project by entering the following command

...config/app.php

'providers' => [
    ...
    GhaniniaIR\Captcha\CaptchaServiceProvider::class 
],

usage

Use the following command at the top of each file of the use Verta class

<img src="{{ route("captcha") }}">

Validation Rules

You can validate form with Validator Laravel

$this->validate([
    "field" => 'required|captcha'
])