Is it possible to develop a Bones plugin in a Bedrock project?

I hope to see Acron and Clover out in action soon, but in the meanwhile I have to put some code to a plugin and I’d like to use PSR-2 as in Bedrock and Sage.

So I came up to Bones which use Laravel and sounds very interesting.

The problem is that php bones command try to include wp-load.php and this is not compatible with Bedrock.

Do you know if there is a workaround for it?
One could be to develop the plugin in a different environment outside my Bedrock on Trellis setup but this is something I don’t like to do.

Another thing could be to put all the Plugin code in my Sage theme, but this also smells bad.

Any other suggestions?

This topic was automatically closed after 42 days. New replies are no longer allowed.