2017 © Pedro Peláez
 

library karamel

package to use caramel captcha

image

totox777/karamel

package to use caramel captcha

  • Monday, December 9, 2013
  • by totox777
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Karamel Laravel 4 Package

Laravel 4 karamel package based on karamel wrapper, (*1)


add this line to your composer.json, (*2)

"totox777/karamel": "dev-master"

and then, Run :, (*3)

composer update to pull down the latest version., (*4)

add this line to your app.php provider array:, (*5)

'Totox777\Karamel\KaramelServiceProvider',

and add this line to app.php aliases array:, (*6)

'Karamel' => 'Totox777\Karamel\Facades\Profiler',

config: don't forget to chage the api-key and memberID / Email you got from dev.karamel.co.id in vendor/totox777/karamel/src/config/config.php, (*7)

Sample Usage (Form):, (*8)

Karamel::GetCaptcha();

Sample Usage (Validation):, (*9)

$responseValue  = $_POST["gotcha_val"];
$status = Karamel::ValidateCaptcha($responseValue);
if ($status)
{
    // Corrent answer, continue with your submission process
} else {
    // Wrong answer, you may display a new AdsCaptcha and add an error message
}

The Versions

09/12 2013

dev-master

9999999-dev

package to use caramel captcha

  Sources   Download

BSD-2-Clause

The Requires

 

by @totox777