{"id":33948699,"url":"https://github.com/code-lords/next-captcha","last_synced_at":"2026-03-11T19:32:12.177Z","repository":{"id":188547583,"uuid":"678945663","full_name":"code-lords/next-captcha","owner":"code-lords","description":"An innovative CAPTCHA library in PHP that supports multiple CAPTCHA types.","archived":false,"fork":false,"pushed_at":"2023-08-15T20:06:33.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-05-10T02:47:33.612Z","etag":null,"topics":["captcha-audio","captcha-generator","captcha-image","captcha-text"],"latest_commit_sha":null,"homepage":"","language":null,"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/code-lords.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-08-15T18:48:34.000Z","updated_at":"2023-08-15T20:20:46.000Z","dependencies_parsed_at":"2023-08-15T21:28:20.303Z","dependency_job_id":null,"html_url":"https://github.com/code-lords/next-captcha","commit_stats":null,"previous_names":["code-lords/next-captcha","code-lords/next-capture"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/code-lords/next-captcha","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-lords%2Fnext-captcha","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-lords%2Fnext-captcha/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-lords%2Fnext-captcha/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-lords%2Fnext-captcha/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/code-lords","download_url":"https://codeload.github.com/code-lords/next-captcha/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-lords%2Fnext-captcha/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27688894,"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","status":"online","status_checked_at":"2025-12-12T02:00:06.775Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-audio","captcha-generator","captcha-image","captcha-text"],"created_at":"2025-12-12T18:47:51.890Z","updated_at":"2025-12-12T18:47:52.515Z","avatar_url":"https://github.com/code-lords.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# next-captcha\n\n[![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n\nA comprehensive and innovative CAPTCHA library in PHP that supports multiple CAPTCHA types.\n\n## Features\n\n- Generate image-based, audio-based, and text-based CAPTCHAs.\n- Distinct font variations for CAPTCHA challenges.\n- Flexible validation and integration options.\n- Examples demonstrating CAPTCHA usage in different scenarios.\n\n## Table of Contents\n\n- [Installation](#installation)\n- [Usage](#usage)\n  - [Image CAPTCHA](#image-captcha)\n  - [Audio CAPTCHA](#audio-captcha)\n  - [Text CAPTCHA](#text-captcha)\n- [Examples](#examples)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Installation\n\nInstall the CAPTCHA library using Composer:\n\n```bash\ncomposer require code-lords/next-captcha\n```\n\n## Usage\n### Image CAPTCHA\nTo generate and display an image-based CAPTCHA:\n\n```php\n// Include Composer autoloader\nrequire_once 'vendor/autoload.php';\n\nuse Codelords\\NextCapture\\CaptchaGenerator\\ImageCaptchaGenerator;\n\n$captchaGenerator = new ImageCaptchaGenerator();\n$captchaChallenge = $captchaGenerator-\u003egenerate();\n$captchaImagePath = $captchaGenerator-\u003esaveImage('/path/to/save');\n\n// Display $captchaImagePath in your HTML form\n```\n### Audio CAPTCHA\nTo generate an audio-based CAPTCHA:\n\n```php\n\n// Include Composer autoloader\nrequire_once 'vendor/autoload.php';\n\nuse Codelords\\NextCapture\\CaptchaGenerator\\AudioCaptchaGenerator;\n\n$captchaGenerator = new AudioCaptchaGenerator();\n$captchaChallenge = $captchaGenerator-\u003egenerate();\n// Output $captchaChallenge as an audio element in your HTML\n```\n\n### Text CAPTCHA\nTo generate a text-based CAPTCHA:\n\n```php\n// Include Composer autoloader\nrequire_once 'vendor/autoload.php';\n\nuse Codelords\\NextCapture\\CaptchaGenerator\\TextCaptchaGenerator;\n\n$captchaGenerator = new TextCaptchaGenerator();\n$captchaChallenge = $captchaGenerator-\u003egenerate();\n// Display $captchaChallenge in your HTML form\n```\n\n## Examples\nFor more detailed usage examples, see the examples directory.\n\n## Contributing\nContributions are welcome! Please read CONTRIBUTING.md for details on how to contribute to this project.\n\n## License\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-lords%2Fnext-captcha","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcode-lords%2Fnext-captcha","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-lords%2Fnext-captcha/lists"}