eleme/easycaptcha

PHP captch library

v0.2.2 2015-06-07 14:53 UTC

This package is not auto-updated.

Last update: 2024-11-09 16:32:24 UTC


README

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