Josbiz Custom Data Capture
A BoilerPlate for Plugin developer
by Josbiz Technologies · github.com/michaeladewunmi/wp-plugin-boilerplate · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/michaeladewunmi/wp-plugin-boilerplate/archive/refs/heads/master.zipWordPress Plugin BoilerPlate for Plugin Developers.
A personal boilerplate that uses composer and docker to make plugin development faster
Prerequisite
You must know what this boilerplate is meant for before you use it. Please refer to these tutorials to understand how to use this plugin boilerplate
Thanks to these people for their awesome tutorials and free boilerplates that helped me build this.
- Thanks to DevInvision which is what my boilerplate is built into.
- Thanks to Josh Pollock for is amazing tutorials on TorqueMag. If you care to know how this boilerplate was made, please check out JoshPollock Articles.
Dependency
- Composer - You need composer installed to use this boilerplate
- Docker - This plugin uses docker because......well, Everyone use docker now and it's really cool and very much flexible. It also makes it easy to share development environments between Ubuntu, Windows and Mac. Check out this nice article if you need more Information about the benefits of using docker.
Installation Guide
Before using this boilerplate, You are to do the following;
-
Perform a global search for "PluginNameSpace" and replace it with the namespace of your plugin.
-
Also, do a global search for "plugin-name" and replace it with the name of your plugin.
-
Also, do a global search for "plugin_name" and replace it with the name of the plugin file.
-
Do a global search of "virtualhostname" and replace it with the virtualhost name you will prefer.
-
Find the file serving as the entry point of the plugin (plugin-name.php found in the root of this project) and change the name to the actual name of the plugin you are to create.
-
Then Run the command "composer dump-autoload"
HOORAY! Now, You're good to go. Happy Coding!