{"id":41710316,"url":"https://github.com/pdscopes/twofactor","last_synced_at":"2026-01-24T21:42:34.579Z","repository":{"id":62521607,"uuid":"84534146","full_name":"pdscopes/twofactor","owner":"pdscopes","description":"Library for two factor authentication","archived":false,"fork":false,"pushed_at":"2022-02-25T15:08:45.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-23T05:47:25.754Z","etag":null,"topics":["google-authenticator","two-factor-authentication"],"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/pdscopes.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":"2017-03-10T07:52:54.000Z","updated_at":"2022-02-25T15:07:45.000Z","dependencies_parsed_at":"2022-11-02T10:31:17.496Z","dependency_job_id":null,"html_url":"https://github.com/pdscopes/twofactor","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/pdscopes/twofactor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdscopes%2Ftwofactor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdscopes%2Ftwofactor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdscopes%2Ftwofactor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdscopes%2Ftwofactor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pdscopes","download_url":"https://codeload.github.com/pdscopes/twofactor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdscopes%2Ftwofactor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28737622,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T21:19:41.845Z","status":"ssl_error","status_checked_at":"2026-01-24T21:13:38.675Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["google-authenticator","two-factor-authentication"],"created_at":"2026-01-24T21:42:33.927Z","updated_at":"2026-01-24T21:42:34.561Z","avatar_url":"https://github.com/pdscopes.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# madesimple/twofactor\n[![PHPUnit](https://github.com/pdscopes/twofactor/actions/workflows/phpunit.yml/badge.svg)](https://github.com/pdscopes/twofactor/actions/workflows/phpunit.yml)\n\nLibrary for two factor authentication.\n\n## Google Authenticator\nHow to use:\n```php\nuse MadeSimple\\TwoFactor\\GoogleAuthenticator\\GoogleAuthenticator;\n\n$auth = new GoogleAuthenticator($secret);\nif (!$auth-\u003e$verfiy($code)) {\n    // Block access\n}\n\n// Sign them in\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpdscopes%2Ftwofactor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpdscopes%2Ftwofactor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpdscopes%2Ftwofactor/lists"}