2017 © Pedro Peláez
 

library googlecapcay

PHP Library untuk verifikasi Google Captcha v2.0

image

amrikasir/googlecapcay

PHP Library untuk verifikasi Google Captcha v2.0

  • Tuesday, May 23, 2017
  • by amrikasir
  • Repository
  • 1 Watchers
  • 1 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Google Capcay

Google Capcay merupakan PHP Library untuk verfikasi Google reCaptcha. Berikut cara penggunaan Google Capcay, (*1)

Install dulu dari composer:, (*2)

>$ composer require amrikasir/googlecapcay

baru deh di PHPnya., (*3)

<?php
require_once __DIR__ . '/vendor/autoload.php';

$GoogleCapcay = new GoogleCapcay\GoogleCapcayVerified();

/*
|-------------------------------------------------------------------------------
| Secret Key harus diisi
*/
$GoogleCapcay->SecretKey('Disini Secret Keynya');

/*
|-------------------------------------------------------------------------------
| RespondCode ngak harus diisi, defaultnya ngambil value dari
| $_POST["g-recaptcha-response"]
*/
$GoogleCapcay->RespondCode();

/*
|-------------------------------------------------------------------------------
| Terakhir Verfikasi deh
|
| Return valuenya JSON dari Google Lho..
*/
$GoogleCapcay->Verified();

Google Capcay support chaining method, (*4)

<?php
require_once __DIR__ . '/vendor/autoload.php';

$GoogleCapcay = new GoogleCapcay\GoogleCapcayVerified();

/*
|-------------------------------------------------------------------------------
| Sample Chaining Method
*/
$GoogleCapcay->SecretKey('Disini Secret Keynya')
        ->RespondCode()
        ->Verified();

itu aja deh, terima bata, sama cendol aja deh gan :D., (*5)

tolong di support ya gan.., biar bisa pengembangan ke depannya., (*6)

ntar niatnya juga bakalan masukin buat nambahin form HTML nya., (*7)

The Versions

23/05 2017

dev-master

9999999-dev

PHP Library untuk verifikasi Google Captcha v2.0

  Sources   Download

GPL-3.0

The Requires

  • php ^5.6.0

 

by Al Amrikasir

captcha google recaptcha capcay

22/05 2017

v1.0.0

1.0.0.0

PHP Library untuk verifikasi Google Captcha v2.0

  Sources   Download

GPL-3.0

The Requires

  • php ^5.6.0

 

by Al Amrikasir

captcha google