2017 © Pedro Peláez
 

library rock-captcha

Captcha library

image

romeoz/rock-captcha

Captcha library

  • Wednesday, November 11, 2015
  • by romeOz
  • Repository
  • 1 Watchers
  • 0 Stars
  • 9 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Captcha library fo PHP

Latest Stable Version Total Downloads Build Status HHVM Status Coverage Status License, (*1)

Features

Installation

From the Command Line:, (*2)

composer require romeoz/rock-captcha

In your composer.json:, (*3)

{
    "require": {
        "romeoz/rock-captcha": "*"
    }
}

Quick Start

use rock\captcha\KCaptcha;

$captcha = new KCaptcha();

echo '<img src="' . $captcha->getDataUri() . '">';

$captcha->getCode(); // output: <code>

Write to session:, (*4)

Required install Rock Session., (*5)

composer require romeoz/rock-session, (*6)

Example:, (*7)

$config = [
    'session' => new \rock\session\Session
];
$captcha = new KCaptcha($config);

echo '<img src="' . $captcha->getDataUri() . '">';

$captcha->getSession(); // output: <code>

Requirements

  • PHP 5.4+
  • For write code to session required Rock Session: composer require romeoz/rock-session
  • For using GregwarCaptcha required gregwar/captcha: composer require gregwar/captcha:1.*
  • For using SecurimageCaptcha required dapphp/securimage: composer require dapphp/securimage:3.6.*

All unbolded dependencies is optional., (*8)

License

Captcha library is open-sourced software licensed under the MIT license., (*9)

The Versions

11/11 2015

dev-master

9999999-dev

Captcha library

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ruslan

captcha abuse spam

11/11 2015

0.11.0

0.11.0.0

Captcha library

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ruslan

captcha abuse spam

25/10 2015

0.10.1

0.10.1.0

Captcha library

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ruslan

captcha abuse spam

23/10 2015

0.10.0

0.10.0.0

Captcha library

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ruslan

captcha abuse spam