mmrcaptcha

所属分类:系统/网络安全
开发工具:PHP
文件大小:0KB
下载次数:0
上传日期:2017-06-30 19:26:06
上 传 者sh-1993
说明:  no intro
(Myanmar Simple Math CAPTCHA,)

文件列表:
LICENSE (1067, 2023-12-10)
composer.json (391, 2023-12-10)
examples/ (0, 2023-12-10)
examples/1.jpg (27184, 2023-12-10)
examples/2.jpg (5499, 2023-12-10)
examples/3.jpg (5015, 2023-12-10)
examples/4.jpg (16727, 2023-12-10)
examples/5.jpg (23732, 2023-12-10)
examples/6.jpg (28081, 2023-12-10)
examples/7.jpg (5287, 2023-12-10)
examples/8.jpg (12028, 2023-12-10)
phpunit.xml (528, 2023-12-10)
src/ (0, 2023-12-10)
src/Captcha.php (13539, 2023-12-10)
src/CaptchaString.php (3890, 2023-12-10)
src/assets/ (0, 2023-12-10)
src/assets/bg1.png (1780, 2023-12-10)
src/assets/mon3.ttf (426148, 2023-12-10)
tests/ (0, 2023-12-10)
tests/CaptchaStringTest.php (1415, 2023-12-10)
tests/CaptchaTest.php (939, 2023-12-10)

# Myanmar Math CAPTCHA [![Build Status](https://api.travis-ci.org/nayzawoo/mmrcaptcha.svg?branch=master)](https://travis-ci.org/nayzawoo/mmrcaptcha) PHP Math CAPTCHA with Myanmar Font ![Example](examples/1.jpg) ![Example](examples/2.jpg) ![Example](examples/3.jpg) ![Example](examples/4.jpg) ![Example](examples/5.jpg) ![Example](examples/6.jpg) ![Example](examples/7.jpg) ![Example](examples/8.jpg) # 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 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](LICENSE) file for more details.

近期下载者

相关文件


收藏者