2017 © Pedro Peláez
 

library simplecaptcha

Create simple captcha using php

image

iorme/simplecaptcha

Create simple captcha using php

  • Tuesday, June 17, 2014
  • by iorme
  • Repository
  • 1 Watchers
  • 1 Stars
  • 1,150 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 3 Versions
  • 5 % Grown

The README.md

Simple PHP captcha generator for Laravel 4, (*1)

Installation

composer.json, (*2)

"require": {
        "iorme/simplecaptcha": "dev-master"
    },

install, (*3)

$ /path/to/composer.phar install

Usage

Add the service provider, open app/config/app.php and add new item to the providers array :, (*4)

'Iorme\SimpleCaptcha\SimpleCaptchaServiceProvider',, (*5)

then add the alias to the aliases array:, (*6)

'SimpleCaptcha' => 'Iorme\SimpleCaptcha\Facades\SimpleCaptcha',, (*7)

On the view file :, (*8)

<p>
    {{ HTML::image(URL::to('simplecaptcha'),'Captcha') }}
    {{ Form::label('captcha', '* Captcha:') }}
    {{ Form::text('captcha') }}
</p>

check the captcha string on the controllers :, (*9)

$check = SimpleCaptcha::check($input['captcha']);

if($check == true) {
    echo "captcha string is right";
} else {
    echo "captcha string is wrong";
}

The Versions

17/06 2014

dev-master

9999999-dev https://github.com/iorme/simplecaptcha

Create simple captcha using php

  Sources   Download

MIT

The Requires

 

php captcha

17/06 2014

dev-devel

dev-devel https://github.com/iorme/simplecaptcha

Create simple captcha using php

  Sources   Download

MIT

The Requires

 

php captcha

17/06 2014

v0.1

0.1.0.0 https://github.com/iorme/simplecaptcha

Create simple captcha using php

  Sources   Download

MIT

The Requires

 

php captcha