Reading the repo
Reading the repo
Assembly instructions
Server-side handling of U2F registration and authentication for PHP
Saved setup from 11 h ago
Will it work on macOS?
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 bash setup.sh. 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: xcode-select --install
git clone https://github.com/code-lts/U2F-php-server.git cd U2F-php-server
PHP ^7.2 || ^8.0
brew install php composer
composer install
No reports for macOS yet.
Opens a chat with this manual already filled in, for macOS. It uses your own account; gitmanual sends nothing.