2017 © Pedro Peláez
 

library mmrcaptcha

Myanmar Captcha

image

nayzawoo/mmrcaptcha

Myanmar Captcha

  • Friday, June 30, 2017
  • by nzo
  • Repository
  • 2 Watchers
  • 3 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Myanmar Math CAPTCHA

Build Status, (*1)

PHP Math CAPTCHA with Myanmar Font, (*2)

Example Example Example Example Example Example Example Example, (*3)

Requirements

  • PHP >= 5.4
  • GD Library (>=2.0) [or] Imagick PHP extension (>=6.5.7)

Installation

composer require nayzawoo/mmrcaptcha

Usage

Create Captcha Image

<?php

require 'vendor/autoload.php';

use MyanmarCaptcha\Captcha;
use MyanmarCaptcha\CaptchaString;

$captcha = new Captcha(new CaptchaString);
$captcha = $captcha
    ->width(180)
    ->height(50)
    ->fontSize(40)
    ->fontPath(__DIR__.'/src/assets/mon3.ttf')
    ->textColor("#000000")
    ->backgroundColor("#FFFFFF")
    ->backgroundImage("./src/assets/bg1.png")
    ->horizontalLines(5)
    ->disableDistortion()
    ->dots(2000)
    ->verticalLines(20)
    ->invert()
    ->build();

$imageQuality = 100;
echo $captcha->response('jpg', $imageQuality);

License

This library is released under the MIT License. See License file for more details., (*4)

The Versions

30/06 2017

dev-master

9999999-dev

Myanmar Captcha

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nay Zaw Oo

27/01 2017

1.0.21

1.0.21.0

Myanmar Captcha

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nay Zaw Oo

26/01 2017

1.0.2

1.0.2.0

Myanmar Captcha

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nay Zaw Oo

26/01 2017

1.0.1

1.0.1.0

Myanmar Captcha

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nay Zaw Oo

26/01 2017

1.0.0

1.0.0.0

Myanmar Captcha

  Sources   Download

MIT

The Requires

 

The Development Requires

by Bodawpaya