For the complete documentation index, see llms.txt. This page is also available as Markdown.

Installation

How to install the library or the Symfony bundle?

This framework contains several sub-packages that you don’t necessarily need. It is highly recommended to install what you need and not the whole framework.

The preferred way to install the library you need is to use composer:

composer require web-auth/webauthn-lib

If you use Symfony Framework, you may be interested in the bundle:

composer require web-auth/webauthn-symfony-bundle

For the Stimulus controllers (frontend integration), pull them straight from npm via AssetMapper or your favourite bundler — see Symfony UX Installation for details:

php bin/console importmap:require @web-auth/webauthn-stimulus

Requirements

  • PHP: 8.2 or higher

  • Symfony (for the bundle): 6.4, 7.x, or 8.0+

  • Extensions: json, openssl

Last updated

Was this helpful?