{"id":15032352,"url":"https://github.com/spomky-labs/otphp","last_synced_at":"2026-06-07T01:04:15.796Z","repository":{"id":11301349,"uuid":"13716817","full_name":"Spomky-Labs/otphp","owner":"Spomky-Labs","description":":closed_lock_with_key: A PHP library for generating one time passwords according to RFC 4226 (HOTP) and the RFC 6238 (TOTP)","archived":false,"fork":false,"pushed_at":"2025-01-27T10:22:47.000Z","size":582,"stargazers_count":1412,"open_issues_count":16,"forks_count":160,"subscribers_count":43,"default_branch":"11.4.x","last_synced_at":"2025-10-01T18:21:52.292Z","etag":null,"topics":["hotp","otp","php","rfc-4226","rfc-6238","rfc4226","rfc6238","totp"],"latest_commit_sha":null,"homepage":"","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/Spomky-Labs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"Spomky","patreon":"FlorentMorselli"}},"created_at":"2013-10-20T09:59:08.000Z","updated_at":"2025-09-25T09:00:31.000Z","dependencies_parsed_at":"2024-03-01T10:43:40.932Z","dependency_job_id":"af0e4957-e4b5-4b35-a585-3168a92a0e2e","html_url":"https://github.com/Spomky-Labs/otphp","commit_stats":{"total_commits":303,"total_committers":30,"mean_commits":10.1,"dds":0.6666666666666667,"last_synced_commit":"ce15080928c690bb897e33590e82f914e8da2cad"},"previous_names":[],"tags_count":58,"template":false,"template_full_name":null,"purl":"pkg:github/Spomky-Labs/otphp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spomky-Labs%2Fotphp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spomky-Labs%2Fotphp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spomky-Labs%2Fotphp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spomky-Labs%2Fotphp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Spomky-Labs","download_url":"https://codeload.github.com/Spomky-Labs/otphp/tar.gz/refs/heads/11.4.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spomky-Labs%2Fotphp/sbom","scorecard":{"id":133117,"data":{"date":"2025-08-04","repo":{"name":"github.com/Spomky-Labs/otphp","commit":"971b7357e4375e752b63cc7993a2482ccb5f1541"},"scorecard":{"version":"v5.2.1-28-gc1d103a9","commit":"c1d103a9bb9f635ec7260bf9aa0699466fa4be0e"},"score":4.8,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#pinned-dependencies"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":2,"reason":"Found 3/11 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#packaging"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#security-policy"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 27 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-16T05:42:06.371Z","repository_id":11301349,"created_at":"2025-08-16T05:42:06.372Z","updated_at":"2025-08-16T05:42:06.372Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278343085,"owners_count":25971399,"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-10-04T02:00:05.491Z","response_time":63,"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":["hotp","otp","php","rfc-4226","rfc-6238","rfc4226","rfc6238","totp"],"created_at":"2024-09-24T20:18:08.949Z","updated_at":"2025-10-04T16:57:21.383Z","avatar_url":"https://github.com/Spomky-Labs.png","language":"PHP","funding_links":["https://github.com/sponsors/Spomky","https://patreon.com/FlorentMorselli","https://www.patreon.com/FlorentMorselli"],"categories":[],"sub_categories":[],"readme":"TOTP / HOTP library in PHP\n==========================\n\n![Build Status](https://github.com/spomky-labs/otphp/workflows/Integrate/badge.svg)\n![Build Status](https://github.com/spomky-labs/otphp/workflows/Infection/badge.svg)\n\n[![Latest Stable Version](https://poser.pugx.org/spomky-labs/otphp/v/stable.png)](https://packagist.org/packages/spomky-labs/otphp)\n[![Total Downloads](https://poser.pugx.org/spomky-labs/otphp/downloads.png)](https://packagist.org/packages/spomky-labs/otphp)\n[![Latest Unstable Version](https://poser.pugx.org/spomky-labs/otphp/v/unstable.png)](https://packagist.org/packages/spomky-labs/otphp)\n[![License](https://poser.pugx.org/spomky-labs/otphp/license.png)](https://packagist.org/packages/spomky-labs/otphp)\n\nA php library for generating one-time passwords according to [RFC 4226](https://datatracker.ietf.org/doc/html/rfc4226) (HOTP Algorithm) and [RFC 6238](https://datatracker.ietf.org/doc/html/rfc6238) (TOTP Algorithm)\n\nThis library is compatible with Google Authenticator apps available for Android and iPhone.\nIt is also compatible with other applications such as [FreeOTP](https://play.google.com/store/apps/details?id=org.fedorahosted.freeotp) for example.\n\n# Documentation\n\nThe documentation of this project is available in the [*doc* folder](doc/index.md).\n\n# Support\n\nI bring solutions to your problems and answer your questions.\n\nIf you really love that project, and the work I have done or if you want I prioritize your issues, then you can help me out for a couple of :beers: or more!\n\n[Become a sponsor](https://github.com/sponsors/Spomky)\n\nOr\n\n[![Become a Patreon](https://c5.patreon.com/external/logo/become_a_patron_button.png)](https://www.patreon.com/FlorentMorselli)\n\n## Contributing\n\nRequests for new features, bug fixed and all other ideas to make this project useful are welcome.\n\nPlease report all issues in [the repository bug tracker](hhttps://github.com/Spomky-Labs/otphp/issues).\n\nAlso make sure to [follow these best practices](.github/CONTRIBUTING.md).\n\n## Licence\n\nThis software is release under the [MIT licence](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspomky-labs%2Fotphp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspomky-labs%2Fotphp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspomky-labs%2Fotphp/lists"}