@tomasznowak-dev/local-admin-logger
v1.0.0
Published
CLI tool to install Local Admin Logger plugin for WordPress
Maintainers
Readme
Local Admin Logger CLI
CLI tool to install and configure the Local Admin Logger WordPress plugin for automatic admin login on localhost environments.
Installation
No installation needed! Use with npx:
npx @tomasznowak-dev/local-admin-logger [email protected]Usage
Run from your WordPress project directory:
npx @tomasznowak-dev/local-admin-logger <admin-email>Example
cd /path/to/your/wordpress
npx @tomasznowak-dev/local-admin-logger [email protected]This will:
- Install the Local Admin Logger plugin to
wp-content/mu-plugins/ - Create/update
.envfile with[email protected] - Enable auto-login button on WordPress login page
What it does
- Adds a "Quick Login" button on the WordPress login screen
- Automatically logs in the specified admin user with one click
- Only works on localhost (
.test,.local,.dev,localhost,127.0.0.1) - Reads email from
.envfile for security
Security
This plugin is only for local development. It automatically disables itself on production environments.
License
MIT
