evophp v1.0.31
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 -vandnpm -v. - Composer: For managing PHP dependencies.
Install EvoPHP
To install EvoPHP globally, run:
npm install -g evophpThis 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:
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:
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
- Plugin:
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.
12 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago