WP Manifestindependent plugin directory
manifest / developer / corevia-wp

Corevia WP

WordPress Plugin

by Sadekur Rahman · github.com/sadekur/corevia-wp · website

1stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/sadekur/corevia-wp/archive/refs/heads/modern.zip

Steps to Run

  1. Update composer composer update
  2. Install Node packages npm install
  3. Build npm run build
  4. Watch npm run watch

Available Commands

Create a Controller

Creates a new controller in the app/Controller directory.

wp coreviawp controller <ControllerName>

Example:

wp coreviawp controller Product

Create a Model

Creates a new model in the app/Model directory.

wp coreviawp model <ModelName>

Example:

wp coreviawp model User

Create an Abstract Class

Creates a new abstract class in the app/Abstract directory.

wp coreviawp abstract <AbstractClassName>

Example:

wp coreviawp abstract Base

Create an API Class

Creates a new API class in the app/API directory.

wp coreviawp api <ApiClassName>

Example:

wp coreviawp api Option

Create a Trait

Creates a new trait in the app/Trait directory.

wp coreviawp trait <TraitName>

Example:

wp coreviawp trait Logger

Create an Interface

Creates a new interface in the app/Interface directory.

wp coreviawp interface <InterfaceName>

Example:

wp coreviawp interface Entity