PlugKit
May 17, 2025 ยท View on GitHub
Plugkit is a CLI tool designed for rapid WordPress plugin development. It streamlines the process using a modern tech stack, helping you build plugins faster and more efficiently.
https://github.com/user-attachments/assets/39ab761e-ca40-4613-a88c-40620a1b2523
Installation
Mac
/bin/bash -c "$(curl -fsSL dub.sh/plugkit/mac)"
Linux
/bin/bash -c "$(curl -fsSL dub.sh/plugkit/linux)"
Windows
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://dub.sh/plugkit/windows'))
Usage
Plugkit provides several commands to help you develop WordPress plugins:
Create a new plugin
plugkit create my-plugin
This command will create a new WordPress plugin with the given name. It will prompt you for additional configuration details like plugin description, version, author information, etc.
Run in development mode
plugkit serve my-plugin
# or
plugkit serve
This command runs the plugin in development mode, starting the development server.
Check version
plugkit version
Shows the current version of Plugkit.
Build plugin
plugkit build
Builds the plugin for production.
After creating a new plugin, you'll need to:
- Navigate to the plugin directory:
cd my-plugin - Install dependencies:
npm install - Install PHP dependencies:
composer install - Start development:
npm run dev