Open albeertito7 opened 1 year ago
I don't think this goes far enough. Instead of PluginName/Includes/PluginNameActivator
, you could just have PluginName/Activator
. I've got a branch in progress that does that, along with some reorganization to have traditional plugin stuff live alongside custom Gutenberg blocks, etc.
(...and now that branch activates cleanly in WordPress.)
I don't think this goes far enough. Instead of
PluginName/Includes/PluginNameActivator
, you could just havePluginName/Activator
. I've got a branch in progress that does that, along with some reorganization to have traditional plugin stuff live alongside custom Gutenberg blocks, etc.
you can definitely organize your namespace as you wish of course, this is just a guide for those who want to orient themselves in this schema.
Added Composer so that this project can be based on namespaces and dependencies, enabling more complex solutions. Also, applied the PHP PSR-2 coding standard.
Plugin tested on local environment.