Welcome to WpMVC — a modern WordPress plugin framework that brings simplicity, structure, and speed to plugin development. With expressive syntax and a rich set of tools, WpMVC helps developers build high-quality plugins effortlessly.
Start by scaffolding your plugin using Composer:
composer create-project wpmvc/wpmvc plugin-nameReplace plugin-name with your desired plugin folder name.
cd plugin-nameConfigure your plugin details interactively:
php artisan app:setupWhen prompted:
-
Enter Plugin: This is the display name of your plugin. Example:
Plugin Name -
Enter plugin namespace: This is the PHP namespace used throughout your codebase. Example:
PluginName -
Enter plugin API namespace: This is the namespace for your REST API endpoints. Example:
plugin-name
✅ That’s it — your plugin is now scaffolded and ready to build!
Run this command to see all available command lists
php artisanTo re-generate vendor folder don't use composer install / php artisan app:setup
Use
composer setup