Download the PHP package ihorchyshkala/passkey-plugin without Composer

On this page you can find all versions of the php package ihorchyshkala/passkey-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package passkey-plugin

Passkey Authentication Plugin

WebAuthn/Passkey authentication for the October CMS backend. Lets administrators sign in using fingerprint, face recognition, or screen lock instead of a password.

Features

Requirements

Installation

Via Composer

Via October CMS Marketplace

Search for Passkey Authentication in the October CMS plugin marketplace, or install from the admin panel:

Manual Installation

Clone this repository into plugins/ihorchyshkala/passkey/ and run migrations:

Usage

Signing in with a Passkey

Once a passkey is registered, the login page shows a "Sign in with Passkey" button below the standard login form. Click it, authenticate with your device (fingerprint, face, PIN), and you're in — no password needed.

Registering a Passkey

  1. Go to Settings → Administrators → (your user) → Passkeys tab, or My Account → Passkeys
  2. Click Add Passkey
  3. Give it a descriptive name (e.g. "MacBook Pro", "YubiKey")
  4. Click Create Passkey and follow the browser prompt
  5. The passkey appears in the list immediately

Removing a Passkey

Click Remove next to any passkey in the list. A confirmation dialog prevents accidental deletion.

Version Compatibility

Branch Plugin October CMS PHP Laravel
1.x v1.x v3.1+ >=8.0.2 9 / 10 / 11
master v2.x v4.x >=8.2 12

Composer constraints on october/rain ensure the correct version is installed automatically. The namespace IHORCHYSHKALA\Passkey is the same on both branches.

How It Works

The plugin implements the WebAuthn Level 2 specification using the lbuchs/webauthn PHP library.

Registration flow:

  1. Backend generates a challenge with user info and excluded credentials
  2. Browser calls navigator.credentials.create() with the options
  3. Authenticator creates a key pair and signs the challenge
  4. Backend verifies the attestation and stores the public key

Authentication flow:

  1. Backend generates a challenge (no user info — discoverable credentials)
  2. Browser calls navigator.credentials.get()
  3. Authenticator signs the challenge with the private key
  4. Backend verifies the signature against the stored public key and logs the user in

Challenges are stored in the server session with a 120-second TTL and are consumed on use (one-time).

Security

Database

The plugin creates one table: ihorchyshkala_passkey_credentials

Column Type Description
id int Primary key
backend_user_id int Foreign key to backend_users (cascade delete)
credential_id varchar(512) Base64url-encoded credential ID (indexed)
public_key text COSE public key
name string User-given name for the passkey
sign_count int Signature counter
transports text JSON array of supported transports
created_at timestamp
updated_at timestamp

License

MIT


All versions of passkey-plugin with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0.2
composer/installers Version ~1.0
october/rain Version >=3.1 <4.0
lbuchs/webauthn Version ^2.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package ihorchyshkala/passkey-plugin contains the following files

Loading the files please wait ...