{"id":20235291,"url":"https://github.com/phphleb/ucaptcha","last_synced_at":"2025-04-10T18:52:50.706Z","repository":{"id":57040477,"uuid":"362229408","full_name":"phphleb/ucaptcha","owner":"phphleb","description":"Universal captcha for smart people vs stupid robots","archived":false,"fork":false,"pushed_at":"2024-12-06T01:40:17.000Z","size":6905,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T16:41:09.920Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phphleb.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2021-04-27T19:34:18.000Z","updated_at":"2025-03-03T20:50:56.000Z","dependencies_parsed_at":"2024-01-20T13:45:54.374Z","dependency_job_id":null,"html_url":"https://github.com/phphleb/ucaptcha","commit_stats":{"total_commits":26,"total_committers":1,"mean_commits":26.0,"dds":0.0,"last_synced_commit":"e8890b89a633c384c6752862e508aa8babca0a6d"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phphleb%2Fucaptcha","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phphleb%2Fucaptcha/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phphleb%2Fucaptcha/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phphleb%2Fucaptcha/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phphleb","download_url":"https://codeload.github.com/phphleb/ucaptcha/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247779794,"owners_count":20994569,"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-11-14T08:15:45.470Z","updated_at":"2025-04-10T18:52:50.683Z","avatar_url":"https://github.com/phphleb.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"UCaptcha\n=====================\n\n![PHP](https://img.shields.io/badge/PHP-\u003e7.0-blue) [![License: MIT](https://img.shields.io/badge/License-MIT%20(Free)-brightgreen.svg)](https://github.com/phphleb/hleb/blob/master/LICENSE)\n\n ![CAPTCHA EXAMPLE](https://raw.githubusercontent.com/phphleb/ucaptcha/d474f82c23f5f97d615b2c3b405927f293b02a2d/resources/dark.png)\n \n ![CAPTCHA EXAMPLE](https://raw.githubusercontent.com/phphleb/ucaptcha/d474f82c23f5f97d615b2c3b405927f293b02a2d/resources/base.png)\n \n ![CAPTCHA EXAMPLE](https://raw.githubusercontent.com/phphleb/ucaptcha/32af2717ccc99c7953751dc12f561210c51c1f82/resources/3d.png)\n## Universal Captcha\n\n\n\n Install using Composer:\n ```bash\n $ composer require phphleb/ucaptcha\n ```\n-----------------------------------------\n\n\nШаг первый. Создание изображения (отображает PNG).\n\nStep one. Image creation (displays PNG).\n\n ```php\n(new \\Phphleb\\Ucaptcha\\Captcha())-\u003ecreateImage(\\Phphleb\\Ucaptcha\\Captcha::TYPE_BASE);\n ```\n-----------------------------------------\n\nШаг второй. Проверка кода, введённого пользователем.\n\nStep two. Checking the code entered by the user.\n\n ```php\nif ((new \\Phphleb\\Ucaptcha\\Captcha())-\u003echeck($code)) {\n  // Characters entered correctly.\n} else {\n  // Invalid characters.\n};\n ```\n\n-----------------------------------------\n\nПроверка успешного прохождения капчи за текущую пользовательскую сессию.\n\nChecking the successful completion of the captcha for the current user session.\n\n ```php\nif ((new \\Phphleb\\Ucaptcha\\Captcha())-\u003eisPassed()) {\n  // The captcha has already been completed earlier.\n} \n ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphphleb%2Fucaptcha","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphphleb%2Fucaptcha","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphphleb%2Fucaptcha/lists"}