Plubo is a really simple WordPress plugin boilerplate created to speed up plugin development.
✔️ Use Blade views and directives from the start
✔️ Add styles in SCSS
✔️ JavaScript router lets you add scripts on specific WordPress templates (based on body tags) and on specific shortcode tags
There are 2 options to start using Plubo:
If you intend to use GitHub for your project, your best option is to create a new repo using this one as a template, just clicking the Use this template button.
When the new repo is ready, you can just clone it, run composer install
and start programming.
When using Plubo as a template, a pipeline will be executed right after the repo creation, modifiyng the filenames and classes to match your new project name.
The pipeline files will be autoremoved.
composer create-project joanrodas/plubo <PROJECT_NAME>
After creating the project, use the command php plubo add to add Alpine.js, React and/or environment variables to your project.
If you need to use React in your project, Plubo can prepare a simple structure for you 😃
php plubo add react <APP_NAME>
Note: If you don't enter an app name, a random one will be assigned.
Feel free to contribute to the project, suggesting improvements, reporting bugs and coding.