Search by

elloro / craft-login-link

elloro

Generate one-time login links from the terminal

Package info

github.com/elloro-nl/craft-login-link

Type:craft-plugin

pkg:composer/elloro/craft-login-link

Statistics

Installs: 5

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

6.0.0 2026-08-26 09:31 UTC

This package is not auto-updated.

Last update: 2026-09-24 08:52:51 UTC


README

Generate one-time login links from the terminal.

For Craft CMS 6, use the 6.x branch / 6.x releases.

Requirements

  • Craft CMS 5.0+
  • PHP 8.2+

Installation

composer require elloro/craft-login-link:^5.0
php craft plugin/install login-link

Usage

php craft login-link/generate <username-or-email> [--expiry=60]

Prints a tokenized URL (valid for --expiry minutes, default 60) that logs the user in and redirects to the control panel. The token is single-use: Craft's token service routes the request to the plugin's auth controller and the token is consumed on first use.