{"id":15022261,"url":"https://github.com/kenjis/ci3-like-captcha","last_synced_at":"2025-04-12T06:17:48.637Z","repository":{"id":46714537,"uuid":"335192972","full_name":"kenjis/ci3-like-captcha","owner":"kenjis","description":"CodeIgniter3-like Captcha","archived":false,"fork":false,"pushed_at":"2022-10-05T07:22:31.000Z","size":134,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"1.x","last_synced_at":"2025-04-12T06:17:23.532Z","etag":null,"topics":["captcha","codeigniter","codeigniter4"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kenjis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-02T06:36:38.000Z","updated_at":"2024-06-26T08:53:27.000Z","dependencies_parsed_at":"2022-09-01T20:22:16.930Z","dependency_job_id":null,"html_url":"https://github.com/kenjis/ci3-like-captcha","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenjis%2Fci3-like-captcha","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenjis%2Fci3-like-captcha/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenjis%2Fci3-like-captcha/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenjis%2Fci3-like-captcha/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kenjis","download_url":"https://codeload.github.com/kenjis/ci3-like-captcha/tar.gz/refs/heads/1.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248525141,"owners_count":21118620,"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":["captcha","codeigniter","codeigniter4"],"created_at":"2024-09-24T19:57:42.834Z","updated_at":"2025-04-12T06:17:48.616Z","avatar_url":"https://github.com/kenjis.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CodeIgniter3-like Captcha\n\nThis project provides CodeIgniter3-like Captcha.\n\n- This is **not** 100% compatible with CI3's CAPTCHA Helper.\n- This uses [php-simple-captcha](https://codeberg.org/S1SYPHOS/php-simple-captcha).\n\n## Requirements\n\n- PHP 7.4 or later\n\n## Installation\n\n```sh-session\n$ composer require kenjis/ci3-like-captcha\n```\n\n## Usage\n\nSee \u003chttps://codeigniter.com/userguide3/helpers/captcha_helper.html\u003e.\n\nInstead of `create_captcha()`, use `Captcha::createCaptcha()`.\n\n```php\nuse Kenjis\\CI3Like\\Captcha\\Captcha;\n\n$vals = [\n    'word'      =\u003e random_string('numeric', 4),\n    'img_path'  =\u003e FCPATH . 'captcha/',\n    'img_url'   =\u003e base_url() . '/captcha/',\n];\n$cap = Captcha::createCaptcha($vals);\n\n$data = [\n    'captcha_id'   =\u003e '',\n    'captcha_time' =\u003e $cap['time'],\n    'word'         =\u003e $cap['word'],\n];\n```\n\n## License\n\nThis package is licensed using the MIT License.\n\nPlease have a look at [`LICENSE`](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkenjis%2Fci3-like-captcha","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkenjis%2Fci3-like-captcha","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkenjis%2Fci3-like-captcha/lists"}