{"id":13559914,"url":"https://github.com/hok00age/codeigniter-recaptcha","last_synced_at":"2025-04-03T15:31:18.405Z","repository":{"id":27225078,"uuid":"30696286","full_name":"hok00age/codeigniter-recaptcha","owner":"hok00age","description":"An easy-to-use CodeIgniter library to work with reCAPTCHA version 2.0 a.k.a NO CAPTCHA reCAPTCHA.","archived":false,"fork":false,"pushed_at":"2015-02-13T06:23:37.000Z","size":95,"stargazers_count":48,"open_issues_count":1,"forks_count":28,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-02-15T11:31:23.969Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hok00age.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-12T09:53:54.000Z","updated_at":"2023-12-27T21:47:22.000Z","dependencies_parsed_at":"2022-09-06T00:42:01.919Z","dependency_job_id":null,"html_url":"https://github.com/hok00age/codeigniter-recaptcha","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hok00age%2Fcodeigniter-recaptcha","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hok00age%2Fcodeigniter-recaptcha/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hok00age%2Fcodeigniter-recaptcha/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hok00age%2Fcodeigniter-recaptcha/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hok00age","download_url":"https://codeload.github.com/hok00age/codeigniter-recaptcha/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247027882,"owners_count":20871608,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T13:00:35.096Z","updated_at":"2025-04-03T15:31:13.386Z","avatar_url":"https://github.com/hok00age.png","language":"PHP","readme":"# CodeIgniter Recaptcha\nAn easy-to-use CodeIgniter library to work with reCAPTCHA version 2.0 a.k.a NO CAPTCHA reCAPTCHA.\n\n![reCAPTCHA version 2.0 demo](https://www.google.com/recaptcha/intro/images/hero-recaptcha-demo.gif)\n\n## Installation\nCopy the files to their respective location.\n\n##Configuration\nOpen \"**application/config/recaptcha.php**\" and put your SITE key, SECRET key, and desired language there.\n\n```php\n$config['recaptcha_sitekey'] = \"\";\n$config['recaptcha_secretkey'] = \"\";\n$config['lang'] = \"\";\n```\n\nSite key and secret key can be obtained from [https://www.google.com/recaptcha/admin/](https://www.google.com/recaptcha/admin/), while language code can be obtained from [https://developers.google.com/recaptcha/docs/language](https://developers.google.com/recaptcha/docs/language).\n\n## Basic Usage Instruction\n#### Call `render()` method from your VIEW file.\nIt will render reCAPTCHA widget onto your view\n```php\n\u003c?php echo $this-\u003erecaptcha-\u003erender(); ?\u003e\n```\n#### Validate in your CONTROLLER\n```php\n// Load the library\n$this-\u003eload-\u003elibrary('recaptcha');\n\n// Catch the user's answer\n$captcha_answer = $this-\u003einput-\u003epost('g-recaptcha-response');\n\n// Verify user's answer\n$response = $this-\u003erecaptcha-\u003everifyResponse($captcha_answer);\n\n// Processing ...\nif ($response['success']) {\n    // Your success code here\n} else {\n    // Something goes wrong\n    var_dump($response);\n}\n```\n\n## Live demo\n[http://rajaongkir.com/kontak](http://rajaongkir.com/kontak)","funding_links":[],"categories":["Libraries"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhok00age%2Fcodeigniter-recaptcha","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhok00age%2Fcodeigniter-recaptcha","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhok00age%2Fcodeigniter-recaptcha/lists"}