aaemnnosttv/wp-cli-valet-command
A WP-CLI extension for Laravel Valet that adds wp valet commands to create, manage, link, park, and destroy WordPress sites from the command line, streamlining local WordPress development with Valet-powered URLs and database setup.
wp-cli-valet-command extends WP-CLI with wp valet subcommands so a WordPress site can be linked, unlinked, and served through Laravel Valet with a single command instead of manual valet link, host file, and database juggling. This directly supports decisions about how engineers spin up WordPress sites locally.git clone to running site).Adopt when most of the following are true:
Look elsewhere when:
@wordpress/env, or wp-env.For executives: This is a low-cost, low-risk developer-productivity tool, not a product feature. It removes manual steps from setting up WordPress sites on engineers' laptops, which shortens onboarding and reduces "works on my machine" friction. The v1.3.1 release is a maintenance patch — documentation clarification, added continuous integration, and PHP deprecation fixes — with no breaking changes and no migration work. It signals the package is still maintained. Cost of adoption is a single dev dependency; cost of not adopting is continued manual setup or bespoke scripts we'd have to own.
For engineering: Safe to adopt if you're on macOS + Valet + WP-CLI. wp valet gives you scriptable, repeatable site linking (wp valet link / unlink) instead of hand-edited Valet links and hosts entries. v1.3.1 fixes PHP deprecation notices, so it's cleaner on modern PHP — pin to ^1.3 and verify on your PHP version during rollout. Note the prerequisite that the site must be registered with Valet; add it to your bootstrap docs. Recommend a short spike: one engineer validates against a representative site, then we document it in the local-setup runbook.
Decision recommendation: Adopt as an optional, documented convenience for Valet-based WordPress developers; do not make it a hard requirement for teams on Docker-based environments, and keep a fallback of documented manual valet link steps to mitigate the single-maintainer risk.
How can I help you explore Laravel packages today?