ph-phrame-cli
v1.0.6
Published
CLI tool for downloading and installing PHPhrame
Downloads
1,495
Readme
PHPhrame CLI Tool
A simple command-line interface (CLI) tool for downloading and setting up PHPhrame, a PHP MVC framework, globally with Node.js.
Features
- Easy installation of the PHPhrame framework using a single command.
- Supports downloading the framework ZIP file from a web server.
- Simple command to set up the PHPhrame framework on the user's local machine.
Installation
Prerequisites
- Node.js version 12 or higher is required.
Download Node.js. - Install adm-zip
npm install adm-zip
Global Installation
Install the PHPhrame CLI tool using npm:
npm install -i ph-phrame-cliAfter installation, you can run the CLI tool from anywhere in your terminal.
Usage
To Download and Set Up PHPhrame:
Simply run the following command:
ph-phrameThis command will:
- Download the PHPhrame framework.
- Extract the contents to a predefined directory (such as your home directory).
- Set up PHPhrame, ready for use in your project.
Example Output
Downloading PHPhrame...
Extracting files...
Installation complete! PHPhrame has been set up at:
C:\Users\YourUser\php-hrameTroubleshooting
- Ensure you have the necessary file permissions to write to the target directory.
- If you face any problems with installation, try running the command prompt or terminal as an administrator.
License
Distributed under the MIT License. See LICENSE for more information.
Contact
- Author: Oni Adesola Ayomide
- Website: phphrame.com
- Email: [email protected]
