kzorluoglu/chameleon-installer 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

kzorluoglu/chameleon-installer

最新稳定版本:1.2.1

Composer 安装命令:

composer require kzorluoglu/chameleon-installer

包简介

Your chameleon shop installer.

README 文档

README

This command-line tool facilitates the creation of a new Chameleon Shop, automating tasks such as system requirement checks, cloning from GitHub, and setting up the project with Composer.

Usage Animation via asciinema: Alt Text

cast File Converted via https://dstein64.github.io/gifcast/

Requirements

  • PHP 8.1 or higher
  • Required PHP Extensions: curl, mbstring, mysqli, pdo_mysql, zip, tidy, intl, gd

Installation

Clone this repository and run composer install to set up the command.

Usage

You can install the Chameleon Shop Installer globally using Composer:

composer global require kzorluoglu/chameleon-installer

Ensure the Command is in Your PATH

After installing the Chameleon Installer, ensure the Composer global bin directory is in your PATH so the Composer commands can be executed from anywhere.

If it isn't, add the following to your shell configuration file (e.g., .bashrc or .zshrc):

echo 'export PATH="$PATH:$HOME/.config/composer/vendor/bin"' >> ~/.bashrc
source ~/.bashrc

Creating a New Project

Once installed, you can create a new Chameleon project using:

chameleon create /path/to/your/new/shop 7.2.x # or 7.1.x or master for development

Replace /path/to/your/new/shop with the desired directory for your new Chameleon Shop.

Features

  • Checks PHP version and extensions.
  • Clones Chameleon Shop from GitHub.
  • Runs Composer in the project directory.
  • Offers database setup and import options, with flexibility in handling configuration settings.

Contributing

Your contributions to enhance and improve this tool are greatly appreciated. Please adhere to standard open-source contribution guidelines.

License

This software is open-source, licensed under the MIT license.

Development

For local testing:

  • Install Composer.
  • Clone the repo.
  • Run composer install.
  • Make bin/chameleon executable (chmod +x).
  • Test with ./bin/chameleon.

统计信息

  • 总下载量: 11
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-01-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固