{"id":13702991,"url":"https://github.com/madwizard-org/webauthn-server","last_synced_at":"2026-01-12T06:51:22.592Z","repository":{"id":62521701,"uuid":"136748415","full_name":"madwizard-org/webauthn-server","owner":"madwizard-org","description":"WebAuthn Relying Party server library for PHP","archived":false,"fork":false,"pushed_at":"2025-02-14T10:40:58.000Z","size":788,"stargazers_count":54,"open_issues_count":10,"forks_count":12,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-16T10:31:37.424Z","etag":null,"topics":["2fa","fido","fido-u2f","fido2","php","relying-party","two-factor-authentication","u2f","webauthn"],"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/madwizard-org.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,"publiccode":null,"codemeta":null}},"created_at":"2018-06-09T18:32:46.000Z","updated_at":"2025-02-18T13:09:03.000Z","dependencies_parsed_at":"2024-06-19T19:21:47.994Z","dependency_job_id":null,"html_url":"https://github.com/madwizard-org/webauthn-server","commit_stats":{"total_commits":188,"total_committers":3,"mean_commits":"62.666666666666664","dds":"0.015957446808510634","last_synced_commit":"0e6ee14ee4bbe5ec97f0f868c9972c163b0c95f7"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madwizard-org%2Fwebauthn-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madwizard-org%2Fwebauthn-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madwizard-org%2Fwebauthn-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madwizard-org%2Fwebauthn-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/madwizard-org","download_url":"https://codeload.github.com/madwizard-org/webauthn-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252458316,"owners_count":21751014,"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":["2fa","fido","fido-u2f","fido2","php","relying-party","two-factor-authentication","u2f","webauthn"],"created_at":"2024-08-02T21:00:48.182Z","updated_at":"2026-01-12T06:51:22.587Z","avatar_url":"https://github.com/madwizard-org.png","language":"PHP","funding_links":[],"categories":["Server Libraries"],"sub_categories":[],"readme":"# WebAuthn Relying Party server library for PHP\n\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/madwizard-org/webauthn-server/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/madwizard-org/webauthn-server/?branch=master)\n[![Code Coverage](https://scrutinizer-ci.com/g/madwizard-org/webauthn-server/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/madwizard-org/webauthn-server/?branch=master)\n[![Build Status](https://scrutinizer-ci.com/g/madwizard-org/webauthn-server/badges/build.png?b=master)](https://scrutinizer-ci.com/g/madwizard-org/webauthn-server/build-status/master)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n## Current state\n\nPretty stable but the API may still change slightly until the 1.0 release.\n\n## Goal\n\nThis library aims to implement the relying party server of the WebAuthn specification in PHP. Important goals are:\n\n- Implement the level 1 WebAuthn specification\n- Good quality, secure and maintainable code\n- Easy to use for the end-user\n\n\n## Installation\n\nInstallation via composer:\n```bash\ncomposer require madwizard/webauthn\n```\n\n## Supported features\n\n- \u003e PHP 7.2\n- FIDO conformant library\n- Attestation types:\n    - FIDO U2F\n    - Packed\n    - TPM\n    - Android SafetyNet\n    - Android Key\n    - Apple\n    - None\n    - Optional 'unsupported' type to handle future types\n- Metadata service support\n- Validating metadata\n- Extensions:\n    - appid\n\n\n## Usage\n\nThe library is still in development so documentation is limited. The general pattern to follow is:\n\n1. Implement `CredentialStoreInterface` (you will need `UserCredential` or your own implementation of `UserCredentialInterface`)\n2. Create an instance of `RelyingParty` and use the `ServerBuilder` class to build a server object:\n```php\n$server = (new ServerBuilder())\n    -\u003esetRelyingParty($rp)\n    -\u003esetCredentialStore($store)\n    -\u003ebuild();\n```\n3. Use `startRegistration`/`finishRegistration` to register credentials. Be sure to store the temporary `AttestationContext` server side!\n4. and `startAuthentication`/`finishAuthentication` to authenticate. Be sure to store the temporary `AssertionContext` server side!\n\n## Resources\n\n[WebAuthn specification](https://www.w3.org/TR/webauthn/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadwizard-org%2Fwebauthn-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmadwizard-org%2Fwebauthn-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadwizard-org%2Fwebauthn-server/lists"}