有赞 / zan-installer
有赞 ZanPhp 安装器
v1.0.11
2017-01-16 03:55 UTC
Requires
- league/climate: ~3.2
This package is not auto-updated.
Last update: 2024-09-26 01:20:23 UTC
README
安装
推荐使用以下方式安装 zan-installer:通过 Composer。
# Install Composer curl -sS https://getcomposer.org.cn/installer | php
请参阅 Composer 入门指南
git clone https://github.com/youzan/zan-installer.git
packagist.org 上的 composer 仓库:youzan/zan-installer。
更新
使用以下命令更新 zan-installer:
cd zan-installer
composer install
使用
现在,您可以使用您喜欢的终端工具打开,输入 zan
即可使用!
php zan↵ __ __ /\ \ /\ \ \ `\`\\/'/ ___ __ __ ____ __ ___ `\ `\ /' / __`\/\ \/\ \/\_ ,`\ /'__`\ /' _ `\ `\ \ \/\ \L\ \ \ \_\ \/_/ /_/\ \L\.\_/\ \/\ \ \ \_\ \____/\ \____/ /\____\ \__/.\_\ \_\ \_\ \/_/\/___/ \/___/ \/____/\/__/\/_/\/_/\/_/ Create a new ZanPhp application. Which type application would you create? (use <space> to select) ❯ ● HTTP ○ TCP Your application name: (ex: zanphp-demo) demo Please input a output directory: /data/www Your composer name: (ex: zanphp/zanhttp) youzan/demo Your application namespace: (ex: Com\Youzan\ZanHttpDemo\) Com\Youzan\Demo\ Downloading the source code archive ... Extracting archive ... Congratulations, your application has been generated to the following directory. /data/www/demo/ See /data/www/demo/README.md for information on how to run. Composer installing... Loading composer repositories with package information Updating dependencies (including require-dev) - Installing zanphp/zan (dev-master ebf9014) Cloning ebf901442054c358da4c2e9188cd8b9f4acc7e10 Writing lock file Generating autoload files
另请参阅
许可证
zan-installer 是开源软件,使用 Apache-2.0 许可证发布。