w-cli is a cli application to spin up WordBox instances.
WordBox is a quick development (and deployment) environment for PHP.
Before you install!
p7zipmust be in your PATH.
7z --helpto verify. On Debian or Ubuntu, use
sudo apt-get install p7zip. Currently
w-clionly works in Linux.
w from npm!
npm install w --global
w new <appname>
Creates a new project at current folder with name
appname. Downloads WordBox and extracts it to the folder and does
npm install to resolve dependencies. You should download or compile
php-cgi binaries and place them at
appname/php. Place your public
.php files at
config.js to see if all's perfect, then do
node . to start a new Express server that runs PHP.
Current version is
v 1.1.0. This is an MVP.
Note: Because npm versions are immutable, our public version number starts directly from v.1.0.1. The project should be considered unstable until v.2.0.0 which will be
w-cli's first stable release version.
I humbly thank @wbhob for donating the package name
w on npm.