Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Server Command Laravel Package

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.

Deep Wiki
Context7

Product Decisions This Supports

  • Developer onboarding and time-to-first-run. 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.
  • Build vs. buy for internal dev tooling. Any team running WordPress in its estate eventually writes a bespoke 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.
  • CI and ephemeral environment strategy. A dependency-free, single-command server is a cheap way to stand up throwaway WordPress instances for smoke tests, plugin/theme compatibility checks, and content-migration dry runs before committing to a heavier Docker Compose or container-per-test approach.
  • Scope and platform boundary decisions. This package is explicitly a development server. Adopting it is simultaneously a decision to keep WordPress serving out of your production architecture — useful when a stakeholder asks "can we just run this in staging?" and you need a defensible no.
  • Support and QA workflow. Reproducing a customer bug against a real WordPress installation becomes a one-liner for support engineers, which is a hiring/tiering decision: you can push reproduction into Tier 1 instead of escalating to engineering.
  • Ecosystem standardization. If you already standardize on WP-CLI for migrations, search-replace, and cron, this fills the last gap (serving) and lets you argue for one toolchain rather than WP-CLI plus MAMP plus a Docker setup.

When to Consider This Package

Adopt when:

  • WordPress is already in your portfolio — a content hub, marketing site, docs site, or a client deliverable — and WP-CLI is already an accepted dependency.
  • You need local development or short-lived CI serving only, with PHP 7.4+ available on the host.
  • You want pretty permalinks to work locally without Apache/nginx config, and you value a zero-config command over environment parity.
  • Your team is small or agency-shaped and the carrying cost of custom dev tooling is a real line item.

Look elsewhere when:

  • You need production or shared staging serving. The PHP built-in server is single-process by default, has no TLS, no HTTP/2, and a thin security posture. This is a hard boundary, not a tuning problem.
  • You need load, concurrency, or performance signal. Any benchmark run against this server measures the server, not your application. Use a containerized nginx/php-fpm stack for anything perf-related.
  • You are Laravel-first. 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.
  • Environment parity is a stated requirement. If "dev matches prod" is a compliance or reliability goal, Docker-based parity wins over a convenience server.
  • You need active maintenance guarantees. 68 stars and a single package in a wider CLI suite means you are depending on the WP-CLI organization's release cadence, not on a vendor with an SLA. Verify the release actually ships and pin versions.
  • Your team is Windows-native and unaudited. Test the host/port/docroot flags and process termination behavior before standardizing, or you will trade one onboarding problem for another.

How to Pitch It (Stakeholders)

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.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console