/easycaptcha

php captcha lib

Primary LanguagePHP

EasyCaptcha

Build Status Scrutinizer Code Quality Code Coverage Stable Status

php captcha lib.

Install With Composer:

"require": {
    "eleme/easycaptcha": "~0.1"
}

Example

<?php

use Eleme\EasyCaptcha\Phrase\Factory as PhraseFactory;
use Eleme\EasyCaptcha\Factory;

require __DIR__.'/../vendor/autoload.php';
header('Content-Type: image/jpeg');
$factory = new Factory();
$phrase = new PhraseFactory();
$factory->render($phrase->build());

Demo

git clone http://github.com/thbourlove/easycaptcha
cd easycaptcha
make build
make demo