{"id":37009777,"url":"https://github.com/lion-packages/authentication","last_synced_at":"2026-04-06T20:00:58.117Z","repository":{"id":301777877,"uuid":"608721404","full_name":"lion-packages/authentication","owner":"lion-packages","description":"Library to authenticate users in 2 steps","archived":false,"fork":false,"pushed_at":"2026-03-02T00:24:32.000Z","size":334,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"6.x","last_synced_at":"2026-03-02T03:29:23.944Z","etag":null,"topics":["2fa","2fa-security","2factor","php","security"],"latest_commit_sha":null,"homepage":"https://dev.lion-packages.com/docs/library/content","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/lion-packages.png","metadata":{"files":{"readme":".github/README.md","changelog":null,"contributing":".github/CONTRIBUTING.MD","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,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-03-02T15:50:17.000Z","updated_at":"2026-03-02T00:24:36.000Z","dependencies_parsed_at":"2025-06-28T19:45:00.621Z","dependency_job_id":"8dfb9049-0630-44f3-9ccb-0cbf40eede1f","html_url":"https://github.com/lion-packages/authentication","commit_stats":null,"previous_names":["lion-packages/authentication"],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/lion-packages/authentication","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lion-packages%2Fauthentication","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lion-packages%2Fauthentication/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lion-packages%2Fauthentication/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lion-packages%2Fauthentication/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lion-packages","download_url":"https://codeload.github.com/lion-packages/authentication/tar.gz/refs/heads/6.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lion-packages%2Fauthentication/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31487542,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-06T17:22:55.647Z","status":"ssl_error","status_checked_at":"2026-04-06T17:22:54.741Z","response_time":112,"last_error":"SSL_read: 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":["2fa","2fa-security","2factor","php","security"],"created_at":"2026-01-14T00:55:18.267Z","updated_at":"2026-04-06T20:00:58.080Z","avatar_url":"https://github.com/lion-packages.png","language":"PHP","readme":"\u003cimg width=\"1920\" height=\"1080\" alt=\"presentation-lion-packages\" src=\"https://github.com/user-attachments/assets/68290082-bc07-41de-9a7f-1dc6fe9b4d34\" /\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://packagist.org/packages/lion/authentication\"\u003e\n    \u003cimg src=\"https://poser.pugx.org/lion/authentication/v\" alt=\"Latest Stable Version\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://packagist.org/packages/lion/authentication\"\u003e\n    \u003cimg src=\"https://poser.pugx.org/lion/authentication/downloads\" alt=\"Total Downloads\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/lion-packages/authentication/blob/main/LICENSE\"\u003e\n    \u003cimg src=\"https://poser.pugx.org/lion/authentication/license\" alt=\"License\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.php.net/\"\u003e\n    \u003cimg src=\"https://poser.pugx.org/lion/authentication/require/php\" alt=\"PHP Version Require\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n🚀 **Lion-Authentication** Library to authenticate users with the 2FA method.\n\n---\n\n## 📖 Features\n\n✔️ Generate security codes.  \n✔️ Generate QR codes.\n\n---\n\n## 📦 Installation\n\nInstall the authentication using **Composer**:\n\n```bash\ncomposer require lion/authentication pragmarx/google2fa-qrcode bacon/bacon-qr-code\n```\n\n## Usage Example\n\n```php\nuse Lion\\Authentication\\Auth2FA;\n\n$auth2fa = new Auth2FA();\n\n$qr = $auth2fa-\u003eqr('company_name', 'company_email', 200); // default size of 400\n```\n\n## 📝 License\n\nThe \u003cstrong\u003eauthentication\u003c/strong\u003e is open-sourced software licensed under the [MIT License](https://github.com/lion-packages/authentication/blob/main/LICENSE).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flion-packages%2Fauthentication","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flion-packages%2Fauthentication","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flion-packages%2Fauthentication/lists"}