GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com β€” GitHub - swoft-cloud/swoft-cli: πŸ› οΈ Command line tool for quick use swoft. Support create new application, generate class, hot reload server and more.

BranchesTags
Open more actions menu

Latest commit

 

History

99 Commits
99 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
app
app
 
 
bin
bin
 
 
config
config
 
 
resource/views
resource/views
 
 
test
test
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
README.zh-CN.md
README.zh-CN.md
 
 
composer.json
composer.json
 
 
composer.json.dev
composer.json.dev
 
 
phar.build.inc
phar.build.inc
 
 
phpunit.xml
phpunit.xml
 
 
swoftcli-home.png
swoftcli-home.png
 
 
swoftcli.example.yml
swoftcli.example.yml
 
 

Repository files navigation

Swoft CLI

GitHub tag (latest SemVer) Php Version Swoft Doc Swoft License PHP-CI

δΈ­ζ–‡θ―΄ζ˜Ž

πŸ› οΈ swoft-cli is an CLI tool application for quick use swoft.

  • Quick create new application skeleton
  • Quick create new component skeleton
  • Monitor file changes of the user's swoft project and automatically restart the server
  • Generate swoft class: http controller, http middleware, ws module, ws controller and more
  • More features ...

Documents on https://www.swoft.org/docs/2.x/zh-CN/tool/swoftcli/index.html

home

Install

Download phar from github releases page

Notice: please replace the {VERSION} to specified version

# wget https://github.com/swoft-cloud/swoft-cli/releases/download/{VERSION}/swoftcli.phar
# eg
wget https://github.com/swoft-cloud/swoft-cli/releases/download/v0.2.0/swoftcli.phar

# quick check
php swoftcli.phar -V
php swoftcli.phar -h

Add to global ENV PATH:

# move to ENV path:
mv swoftcli.phar /usr/local/bin/swoftcli
chmod a+x /usr/local/bin/swoftcli

# check
swoftcli -V

Build

You can build package from latest code:

php -d phar.readonly=0 bin/swoftcli phar:pack -o=swoftcli.phar

License

Apache 2.0

About

πŸ› οΈ Command line tool for quick use swoft. Support create new application, generate class, hot reload server and more.

www.swoft.org/docs

Topics

swoftswoft-applicationswoft-cliswoft-console

Resources

Readme
Apache-2.0 license
Activity
Custom properties

Stars

46 stars

Watchers

6 watching

Forks

16 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 β€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Γ—600. No cookies required.