summaryrefslogtreecommitdiff
path: root/vendor/gregwar/captcha/demo/demo.php
blob: 7852745fc1d631e816c14b1dfb55e9e1c2602cf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php

include(__DIR__.'/../CaptchaBuilderInterface.php');
include(__DIR__.'/../PhraseBuilderInterface.php');
include(__DIR__.'/../CaptchaBuilder.php');
include(__DIR__.'/../PhraseBuilder.php');

use Gregwar\Captcha\CaptchaBuilder;

$captcha = new CaptchaBuilder;
$captcha
    ->build()
    ->save('out.jpg')
;