<?php

use Gek\Captcha\PhraseBuilder;

include_once 'vendor/autoload.php';



$fl =  __DIR__ . DIRECTORY_SEPARATOR . 'test.jpg';

$bld = new \Gek\Captcha\CaptchaBuilder();
$bld
    ->build()
    ->save($fl);
var_dump($bld->getPhrase());
exit(0);



$res = PhraseBuilder::equalsPhrase('abCD123şğiÖ','abcd123ŞĞİö', false,null,'tr');
var_dump($res);
exit(0);
$pBuilder = new \Gek\Captcha\PhraseBuilder();
var_dump($pBuilder->build());
exit(0);
$rgb = new \Gek\Captcha\RgbColor(173,147,225);
var_dump($rgb->toArray());
$intVal = $rgb->toInt();
var_dump($intVal);
$rgb2 = new \Gek\Captcha\RgbColor();
$rgb2->fromInt($intVal);

var_dump($rgb2->toArray());


