This is a package that implements the wp server command.
It uses the PHP built-in server to serve a given WordPress instance.
The main advantage is that you don't have to install and configure Nginx or Apache, which can be overkill if you just want to work on a theme or a plugin.
- PHP 5.4 or newer
- WordPress 3.5 or newer
First, make sure you have the package index configured:
cd ~/.wp-cli/
php composer.phar config repositories.wp-cli composer http://wp-cli.org/package-index/
Then, just install the package:
php composer.phar require wp-cli/server-command=dev-master
How is this different from Whippet?
The main difference is that we don't modify the wp-config.php file, so you can run other WP-CLI commands while the server is running.