there is a guide on how to install bedrock with local here Bedrock with Local | Bedrock Docs | Roots
However, this does come with some drawbacks. the overview and database tabs for the site do not load information as they are expecting to see “wp-config” in public.
I believe a quick fix to making bedrock work with local would be the ability to easily set where the root path is for the wordpress install.
Also a statement to check either a “.env” or wp-config for the defines.
If this is not something that localwp would consider implementing is it possible to create a plugin that has effect on the preset root path and logic of how it gets this information for the ( the overview and database tabs )
I managed to build my own add-on that gives me what i need.
however its only half the issue, it would be nice to have the ability to update the following
function name: updateSite
this is useful, but. it would be more useful if we had the following
1: root
2: version.php ( dir )
3: wp-config.php ( dir )
Also in the case someone is using bedrock, it would be nice to implement another function that allows us to update the info used from wp-config. as bedrock uses a .env format.
I would be happy to help develop this solution into localwp and or create it as a standalone add-on if these options can be added.