Skip to content

hainuo/zan-installer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Youzan Zan PHP Installer

Installation

The recommended way to install zan-installer is through Composer.

# Install Composer
curl -sS https://getcomposer.org/installer | php

See Composer Getting Started

composer global require youzan/zan-installer

The composer repository on packagist.org: youzan/zan-installer

Update

Use the following command to update zan-installer:

composer global update

Use

Now, you can open your favorite Terminal tool, type zan to use!

~/Sites 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
Your application namespace: (ex: zanphp/zanhttp) youzan/demo
Please input a output directory:
~/Sites
Downloading the source code archive ...
Extracting archive ...
Congratulations, your application has been generated to the 
following directory.
~/Sites/demo/
See ~/Sites/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 o1o0x2x4)
    Cloning b6d8d443a7a3545a3d1796b39e54fcbc2d276a10

Writing lock file
Generating autoload files

Also see

License

The zan-installer is open-sourced software licensed under the Apache-2.0 license.

Packages

No packages published

Languages

  • PHP 100.0%