Plugin Frame is a robust and developer-friendly WordPress plugin development framework designed for modern workflows. Built with cutting-edge technologies like Composer, npm, Tailwind CSS, and Twig, it provides a Laravel-like structure while adhering to WordPress coding standards and PSR-4 guidelines. Whether you're building lightweight plugins or complex WordPress applications, Plugin Frame streamlines development with a structured, modular, and scalable approach.
- Doxygen Doc Files, Namespaces, Classes, Functions
- ✅ Modern Development Workflow – Leverage tools like Composer, npm, and Webpack for efficient development.
- ✅ WordPress & PHP Standards Compliant – Ensures compatibility with WordPress coding best practices.
- ✅ Built-in Optimization & Build Tools – Automate CSS, JavaScript, translation, and production builds.
- ✅ Minimalistic & Developer-Friendly – Lightweight, fast, and easy to use for all levels of developers.
Follow these steps to set up your development environment:
-
Navigate to the WordPress plugins directory:
cd /path/to/wordpress/wp-content/plugins/
-
Clone the repository:
git clone https://github.com/RactStudio/plugin-frame.git
-
Install dependencies:
composer install npm install
-
Build the plugin:
- Global PHP and WP Cli is required.
- Command with
php
andwp
must be available in terminal. - Development Build:
npm run build
- Tailwind CSS Build:
npm run tailwind
- WP Languages Build:
npm run translate
- Production Build (dist):
npm run build:prod
-
Dev Tools:
- Cloudflared Tunnels:
npm run tunnel
- Watch CSS:
npm run watch
- Tailwind CSS Watch:
npm run tailwind-watch
- Cloudflared Tunnels:
-
Activate the plugin through the WordPress dashboard.
-
Start developing your plugin! 🎉
- 🚀 Modern development workflow
- 🔍 Follows WordPress & PHP coding standards
- 🔧 Built-in build tools for performance optimization
- 🛠 Developer-friendly architecture
- WordPress: 5.0 or higher
- PHP: 7.4 or higher
- Composer (for dependency management)
- Node.js & npm (for frontend assets & build tools)
- WordPress | PHP | SQL
- Composer | Node.js | npm
- Webpack | Babel | Grunt
- Tailwind CSS | Twig | Alpine.js
- JavaScript | AJAX | CSS
- Cloudflared | WP-CLI
We welcome contributions! If you’d like to improve Plugin Frame, feel free to open an issue or submit a pull request.
This project is licensed under the GPLv3 license.
- Developed by Mahamudul Hasan Rubel
- 📱 WhatsApp: +8801734998405
- 📧 Email: [email protected]
🚀 Build powerful WordPress plugins effortlessly with Plugin Frame!