wplib-box
wplib-box copied to clipboard
Feature request: New site shortcut in CLI
I'm going to try and figure this out myself, but I am missing vv (https://github.com/bradp/vv).
Would be great if I could just run something like wplibbox new example.box
and have the new site provisioned at that URL, also if it could magically set up XDEBUG for me in phpStorm than that would be awesome.
Background: I was running 10 sites in VVV, now I have to manually setup most of those. I say most as maybe it's time to use Homestead for my Laravel apps.
"I'm going to try and figure this out myself, but I am missing vv (https://github.com/bradp/vv)."
Yes, we are painfully aware of that. :-(
_"Would be great if I could just run something like wplibbox new example.box and have the new site provisioned at that URL,
We actually have that, but it is in our development branch. The problem is, as VVV illustrates, once you start adding sites a lot of other concerns come up that affect usability.
WPLib Box was first envisioned to be a single site "it just works" setup, and when we started to look at multiple site setup (or what we call "multi-project" so as not to confuse with WP Multisite) we realized we needed to start from a new foundation.
Also, WPLib Box was envisioned to support WPLib. But as we've learned WPLib box is not resonating with other developers, so our next version will actually be a new product with a new name and have no relation to WPLib. That name is not public but DM me on Slack and I can explain to you.
"also if it could magically set up XDEBUG for me in phpStorm than that would be awesome."
YES. Please comment on and vote this PhpStorm ticket up.
We can probably do it by diving into the the .idea
directory, and will do it that way if JetBrain does not give us a better way soon.