Reading the repo
Reading the repo
How to install on Windows
Server-side handling of U2F registration and authentication for PHP
Saved setup from 11 h ago
Will it work on Windows?
You'll only ever need to use this method call once per installation and only in the context of debugging if the class is giving you unexpected errors. This method call will check your OpenSSL version and ensure it is at least 1.0.0 .
<?php
require __DIR__ . '/vendor/autoload.php';
use CodeLts\U2F\U2FServer\U2FServer as U2F;
var_dump(U2F::checkOpenSSLVersion());
Then run powershell -ExecutionPolicy Bypass -File .\setup.ps1. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
Compare yours with the README's “Compatibility Code” list above before installing anything.
Needs Git: winget install Git.Git
git clone https://github.com/code-lts/U2F-php-server.git cd U2F-php-server
PHP ^7.2 || ^8.0
scoop install php composer # needs scoop: https://scoop.sh
composer install
No reports for Windows yet.
Opens a chat with this manual already filled in, for Windows. It uses your own account; gitmanual sends nothing.