wp-cli/server-command
WP-CLI Server Command adds the wp server command, letting you launch PHP's built-in web server to run WordPress locally without Apache or Nginx. Just run wp server and get a working dev site, with options for host, port, docroot, and router. Ideal for quick local development and testing.
wp server collapses "install a LAMP stack, configure a vhost, fix permalinks" into a single command scoped to a WordPress docroot. If your product or marketing surface includes WordPress, this is a measurable onboarding-cost decision: minutes versus a half-day, and it removes the most common class of "works on my machine" support tickets.serve.sh wrapper. This package is the buy option: MIT-licensed, bundled in the WP-CLI ecosystem, and maintained upstream. Choosing it is a decision to not own a router script, a port-collision handler, and pretty-permalink rewriting in-house.Adopt when:
Look elsewhere when:
php artisan serve, Sail, Herd, or Valet already cover this ground with better framework integration. Adopting a WordPress-specific command adds a second, divergent local-dev story.To executives: This is a free, MIT-licensed developer convenience that removes setup friction for anyone working on our WordPress-based surfaces. It costs nothing to adopt, carries no production exposure because it is a development-only server, and replaces internal scripts we would otherwise have to build and maintain. The realistic win is onboarding hours and fewer environment-support tickets, not a customer-facing capability — so treat it as a productivity line item, not a platform investment.
To engineering: wp server launches PHP's built-in web server against a specific WordPress installation with a router that makes pretty permalinks work, so nobody hand-edits vhosts again. It is a dev and CI tool: no TLS, no concurrency guarantees, no production use — we will keep it out of staging and out of any performance work. Adoption is low-risk and reversible; the dependency is WP-CLI, which we already run for migrations and search-replace. Pin the version, document the flags, and set an explicit expectation that anything resembling production traffic runs on php-fpm behind a real web server.
How can I help you explore Laravel packages today?