Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/stracker-phil/whiskey/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Whiskey - WordPress Configuration Plugin
Like fine whiskey, code gets better with age. This plugin demonstrates PHP language improvements from 7.4 to 8.3 through practical WordPress automation.
Branches
main | php-7.4 | php-8.0 | php-8.1 | php-8.2 | php-8.3
Overview
Whiskey is a WordPress helper plugin that exposes REST API endpoints for site configuration tasks. It's designed to showcase PHP language improvements across versions while solving real automation needs.
Key Features:
- 🍻 Recipe System: Hook-based configuration recipes for flexible site setup
- 🔧 Multi-Platform: WordPress core, WooCommerce, and PayPal configurations
- 🚀 REST-First: API endpoints for testing automation and AI tool integration
- 📊 PHP Evolution: Five versions (7.4, 8.0, 8.1, 8.2, 8.3) demonstrating language improvements
- 🧪 Educational: 20% code complexity reduction target through modern PHP features
Installation
# Clone the repository
git clone https://github.com/stracker-phil/whiskey.git
# Switch to desired PHP version branch
git checkout php-8.3 # or php-7.4, php-8.0, php-8.1, php-8.2
# Start WordPress environment:
ddev start
# First time only, sets up WordPress:
ddev orchestrate
Access Dev Site
The following details are pre-defined in the DDEV configuration:
- URL: https://whiskey.ddev.site
- Username:
admin - Password:
admin