1.0.31 • Published 12 months ago

evophp v1.0.31

Weekly downloads
-
License
-
Repository
-
Last release
12 months ago

EvoPHP CLI - Comprehensive Guide

Overview

EvoPHP CLI is a command-line interface designed to simplify the development and management of projects, plugins, and themes within the EvoPHP ecosystem. With intuitive commands and shorthands, developers can quickly set up projects, manage dependencies, and handle plugin/theme creation and installation with ease.


Table of Contents


Installation

Prerequisites

Ensure the following are installed on your system:

  • Node.js: Verify by running node -v and npm -v.
  • Composer: For managing PHP dependencies.

Install EvoPHP

To install EvoPHP globally, run:

npm install -g evophp

This command makes the evophp CLI available system-wide.


All Commands

Initialization

evophp init ?<project-name>
  • Initialize a new project.
  • Examples:
    evophp init
    evophp init example-project

Plugin/Theme Creation

evophp n | new plugin | theme <author>/<name>
  • Create a new plugin or theme.
  • Examples:
    • Plugin:
      evophp new plugin example-author/example-plugin
      evophp n plugin example-author/example-plugin
    • Theme:
      evophp new theme example-author/example-theme
      evophp n theme example-author/example-theme

Plugin/Theme Installation

evophp i | install plugin | theme <author>/<name>
  • Install a plugin or theme.
  • Examples:
    • Plugin:
      evophp install plugin example-author/example-plugin
      evophp i plugin example-author/example-plugin
    • Theme:
      evophp install theme example-author/example-theme
      evophp i theme example-author/example-theme

Plugin/Theme Uninstallation

evophp u | uninstall plugin | theme <plugin-name>
  • Uninstall a plugin or theme.
  • Examples:
    • Plugin:
      evophp uninstall plugin example-plugin
      evophp u plugin example-plugin
    • Theme:
      evophp uninstall theme example-theme
      evophp u theme example-theme

Dependency Management

evophp d | install-dependencies <plugin-name>
  • Install npm production dependencies.
  • Examples:
    evophp install-dependencies example-plugin
    evophp d example-plugin

Development Dependencies

evophp d | install-dependencies <plugin-name> --dev | --save-dev
  • Install npm development dependencies.
  • Examples:
    evophp install-dependencies example-plugin --dev
    evophp d example-plugin --dev

Composer Dependencies

evophp d | install-dependencies <plugin-name> --composer
  • Install composer dependencies.
  • Examples:
    evophp install-dependencies example-plugin --composer
    evophp d example-plugin --composer

Notes

  • <author> must be a valid GitHub username.
  • <name> must be a unique repository name (not already existing on GitHub).

Further Documentation

For additional details, best practices, and advanced usage, please refer to the official EvoPHP documentation.

1.0.31

12 months ago

1.0.30

1 year ago

1.0.29

1 year ago

1.0.28

1 year ago

1.0.27

1 year ago

1.0.26

1 year ago

1.0.25

1 year ago

1.0.24

1 year ago

1.0.23

1 year ago

1.0.22

1 year ago

1.0.21

1 year ago

1.0.20

1 year ago

1.0.19

1 year ago

1.0.18

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago