| Package Data | |
|---|---|
| Maintainer Username: | doanvanluan |
| Maintainer Contact: | luacap.contact@gmail.com (Luasoft) |
| Package Create Date: | 2014-12-01 |
| Package Last Update: | 2016-01-04 |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-10-30 15:04:07 |
| Package Statistics | |
|---|---|
| Total Downloads: | 37 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 0 |
| Total Watchers: | 1 |
| Total Forks: | 0 |
| Total Open Issues: | 0 |
Captcha package for Laravel framework 4.x

Modify composer.json :
{
...
"require": {
"luacap/captcha": "dev-master"
}
}
Show captcha image:
<?php
use Luacap\Captcha\LuacapCaptcha;
$captcha = new LuacapCaptcha;
$captcha->getCaptchaImage();
Validation captcha:
<?php
if ($_SESSION['luacap_captcha_code'] == Input::get('input_code') {
// passed
} else {
// wrong
}