A simple WordPress plugin boilerplate
This is a foundation for building WordPress plugins.
- vue.js The Progressive JavaScript Framework.
- Vite Next Generation Frontend Tooling.
- tailwindcss Rapidly build modern websites without ever leaving your HTML.
- Notyf A minimalistic JavaScript library for toast notifications.
- jQuery * A minimalistic JavaScript library for frontend. It's optional. you can use this wordpress script dependency.
- Check used Technologies features.
- It replaces all placeholder strings during plugin creation.
- It generates independent styles for both frontend and backend with any conflict with WordPress core and any plugin or themes.
- It makes zip for test plugin throughout a team by one command.
- It makes production build, push updates to GitHub and revert all changes from production to development with one command.
- You can manage your plugin license and support with this. N.B. You will need a management system. you can check out my WordPress Plugin Management System
- Added rules for WordPress. you can run phpcs by using this command
phpcs --standard=.phpcs.xml
- node.js v18.12.1
- npm v9.2.0
- PHP v7.4
- VS Code extension DEVSENSE.phptools-vscode
composer create-project devkabir/wordpress-plugin:dev-with-dummy <your-plugin-name>
composer create-project devkabir/wordpress-plugin:dev-fresh <your-plugin-name>
composer create-project devkabir/wordpress-plugin:dev-only-admin <your-plugin-name>
- How to install
- Project Organization
- Components
For nice error page, install wp-debugger