Skip to content
Lukman Nakib edited this page May 30, 2026 · 2 revisions

WP Plugin Matrix

A modern WordPress plugin starter kit with a Laravel-flavoured architecture, a Vue 3 + Element Plus admin UI, and declarative seams — so you build features by declaring them instead of rewriting plumbing.

PHP 8.0+ · Vue 3 · Vite · Element Plus · WP-CLI

The 60-second pitch

composer create-project wp-plugin-matrix/starter my-plugin   # scaffold + auto-personalize
wp matrix:make:resource Book                                 # model + migration + controller + listpage + routes
wp matrix:clean                                              # strip the demo → blank starter

You declare a Model with validation Rules, declare a ListPage, and the framework auto-registers the REST routes, renders a Vue CRUD table, and generates the edit form. No boilerplate.

What you get

Seam What it does
Routing Declare REST + AJAX routes in one file; URLs auto-exposed to JS via Localized Routes.
Admin Pages & List Pages Declare a menu page — or a full CRUD table — and the framework wires the rest.
Models & Validation A small wpdb ORM with $rules + validate().
Lifecycle & Migrations Declarative activate/deactivate/uninstall + versioned migrations.
Facades & Helpers Asset/Cache/Config + SettingsPage/Notice/CPT/Cron.
CLI Generators wp matrix:make:* scaffolders + the create-project Personalizer.
Tracer Gated, zero-overhead execution tracing for debug + perf.

Start here

Building an agent/automation on top of the repo? See AGENTS.md and docs/ARCHITECTURE-MAP.md in the source tree, and open docs/architecture-graph.html for a visual map.

Clone this wiki locally