2017 © Pedro Peláez
 

library laravel-captcha

Laravel package to generate and validate CAPTCHA.

image

nikazooz/laravel-captcha

Laravel package to generate and validate CAPTCHA.

  • Wednesday, December 13, 2017
  • by nikazooz
  • Repository
  • 1 Watchers
  • 0 Stars
  • 10 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 11 % Grown

The README.md

Laravel Captcha

Package for Laravel to easily generate and validate CAPTCHA., (*1)

Requirements

Version PHP Laravel Status
0.1.* >=7.0 ^5.5 Not supported
1.* >=7.2 >=6.0 Supported

ImageMagick or GD extension for PHP is required to use with included drivers., (*2)

Verification code is stored in session, so session needs to be active on validated route and on web middleware group., (*3)

Installation

composer require nikazooz/laravel-captcha

Configuration

To change configurations, you need to publish the configurations file., (*4)

php artisan vendor:publish --provider="Nikazooz\LaravelCaptcha\CaptchaServiceProvider"

Reading the config file is the best way to find out what can be configured., (*5)

Usage

Easily get URL at which CAPTCHA image is available using the facade:, (*6)

<?php

use Nikazooz\LaravelCaptcha\Facades\Captcha;

echo Captcha::url();

It adds v query parameter with random value in order to avoid browser caching., (*7)

To validate the code sent in request, use captcha validator, registered by the package, on that parameter., (*8)

If you need the verification code, for example in tests, you can get it with the facade: Captcha::code();, (*9)

License

The package is open-sourced software licensed under the MIT license., (*10)

The Versions

13/12 2017

dev-master

9999999-dev

Laravel package to generate and validate CAPTCHA.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nenad Živanović

laravel captcha

13/12 2017

v0.1.1

0.1.1.0

Laravel package to generate and validate CAPTCHA.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nenad Živanović

laravel captcha

12/12 2017

v0.1.0

0.1.0.0

Laravel package to generate and validate CAPTCHA.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nenad Živanović

laravel captcha