{"id":15304751,"url":"https://github.com/raphaelvserafim/google-authenticator","last_synced_at":"2026-01-07T12:04:02.520Z","repository":{"id":65487939,"uuid":"593220766","full_name":"raphaelvserafim/google-authenticator","owner":"raphaelvserafim","description":"Google Authenticator PHP","archived":false,"fork":false,"pushed_at":"2023-01-25T14:44:04.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-01T20:45:13.511Z","etag":null,"topics":["authenticator","google","php"],"latest_commit_sha":null,"homepage":"","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/raphaelvserafim.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":"2023-01-25T14:17:18.000Z","updated_at":"2024-02-12T06:33:28.000Z","dependencies_parsed_at":"2023-02-14T08:31:30.206Z","dependency_job_id":null,"html_url":"https://github.com/raphaelvserafim/google-authenticator","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphaelvserafim%2Fgoogle-authenticator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphaelvserafim%2Fgoogle-authenticator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphaelvserafim%2Fgoogle-authenticator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphaelvserafim%2Fgoogle-authenticator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raphaelvserafim","download_url":"https://codeload.github.com/raphaelvserafim/google-authenticator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245892117,"owners_count":20689449,"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":["authenticator","google","php"],"created_at":"2024-10-01T07:57:39.403Z","updated_at":"2026-01-07T12:04:02.474Z","avatar_url":"https://github.com/raphaelvserafim.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Google Authenticator PHP \n\n\n\n## CONTATO \n \n\u003cp\u003e\n\u003ca href=\"https://wa.me/5566996852025\" target=\"_blank\"\u003e \n \u003cimg src=\"https://img.shields.io/badge/WhatsApp-25D366?style=for-the-badge\u0026logo=whatsapp\u0026logoColor=white\" title=\"+55 66 99685-2025\"/\u003e \n\u003c/a\u003e\n\n \u003ca href=\"https://t.me/raphaelserafim\" target=\"_blank\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Telegram-2CA5E0?style=for-the-badge\u0026logo=telegram\u0026logoColor=white\" target=\"_blank\"\u003e\n \u003c/a\u003e  \n\n\u003ca href=\"https://instagram.com/raphaelvserafim\" target=\"_blank\"\u003e\n \u003cimg src=\"https://img.shields.io/badge/-Instagram-%23E4405F?style=for-the-badge\u0026logo=instagram\u0026logoColor=white\" target=\"_blank\"\u003e\n\u003c/a\u003e\n \n\u003ca href=\"https://www.linkedin.com/in/raphaelvserafim\" target=\"_blank\"\u003e\n \u003cimg src=\"https://img.shields.io/badge/-LinkedIn-%230077B5?style=for-the-badge\u0026logo=linkedin\u0026logoColor=white\" target=\"_blank\"\u003e\n\u003c/a\u003e  \n\u003c/p\u003e\n \n\n## Example of use:\n\n```php\nuse Cachesistemas\\GoogleAuthenticator;\n\ninclude_once 'vendor/autoload.php';\n\n$ga  = new GoogleAuthenticator():\n```\n\n### create Secret\n```php\n$secret = $ga-\u003ecreateSecret();\n```\n\n### get QRCode Google Url\n```php\n$qrCode = $ga-\u003egetQRCodeGoogleUrl(\"\u003cemail\u003e\", $secret,\"\u003cNAME\u003e\");\n```\n\n### verify Code\n```php\n$check = $ga-\u003everifyCode($secret, \"\u003ccode\u003e\", 2);\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraphaelvserafim%2Fgoogle-authenticator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraphaelvserafim%2Fgoogle-authenticator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraphaelvserafim%2Fgoogle-authenticator/lists"}