An open API service indexing awesome lists of open source software.

https://github.com/wpmvc/wpmvc

WpMVC is a WordPress plugin framework designed to simplify and enhance the development experience. With its intuitive structure and powerful features, WpMVC enables developers to create clean, maintainable, and efficient WordPress plugins effortlessly.
https://github.com/wpmvc/wpmvc

laravel wordpress wordpress-plugin

Last synced: 21 days ago
JSON representation

WpMVC is a WordPress plugin framework designed to simplify and enhance the development experience. With its intuitive structure and powerful features, WpMVC enables developers to create clean, maintainable, and efficient WordPress plugins effortlessly.

Awesome Lists containing this project

README

          


Total Downloads
Latest Stable Version
License

# πŸš€ Installation Guide

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.

## 1. Create a New Plugin

Start by scaffolding your plugin using Composer:

```sh
composer create-project wpmvc/wpmvc plugin-name
```

Replace `plugin-name` with your desired plugin folder name.

## 2. Navigate to Your Plugin Directory

```sh
cd plugin-name
```

## 3. Run the Setup Wizard

Configure your plugin details interactively:

```sh
php artisan app:setup
```

### Setup Prompts Explained

When 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!

## Artisan Command
Run this command to see all available command lists
```sh
php artisan
```
## Routing
Routing Documentation

## Database
Database Documentation

## Regenerate Vendor Directory
To re-generate vendor folder don't use `composer install` / `php artisan app:setup`

Use
```sh
composer setup
```