https://github.com/ractstudio/plugin-frame
Plugin Frame: A modern WordPress plugin development framework with Composer, npm, Tailwind, Twig, and Laravel-like structure. Ideal for lightweight or complex plugins. Complies with WP & PSR-4 standards. Modular, scalable, and dev-friendly.
https://github.com/ractstudio/plugin-frame
alpinejs composer mvc npm plugin tailwindcss wordpress wordpress-development wordpress-plugin
Last synced: 3 months ago
JSON representation
Plugin Frame: A modern WordPress plugin development framework with Composer, npm, Tailwind, Twig, and Laravel-like structure. Ideal for lightweight or complex plugins. Complies with WP & PSR-4 standards. Modular, scalable, and dev-friendly.
- Host: GitHub
- URL: https://github.com/ractstudio/plugin-frame
- Owner: RactStudio
- License: gpl-3.0
- Created: 2024-11-09T11:22:21.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-02-24T16:58:41.000Z (over 1 year ago)
- Last Synced: 2025-02-24T17:48:47.574Z (over 1 year ago)
- Topics: alpinejs, composer, mvc, npm, plugin, tailwindcss, wordpress, wordpress-development, wordpress-plugin
- Language: PHP
- Homepage:
- Size: 24.1 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Plugin Frame `v0.9.2`
## A Modern WordPress Plugin Development Framework 🚀
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.
## Developer Documentation
- Doxygen Doc [Files, Namespaces, Classes, Functions](https://pf.ractstudio.com/)
### Why Choose Plugin Frame?
- ✅ **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.
---
## 📌 Installation for Developers
Follow these steps to set up your development environment:
1. **Navigate to the WordPress plugins directory:**
```sh
cd /path/to/wordpress/wp-content/plugins/
```
2. **Clone the repository:**
```sh
git clone https://github.com/RactStudio/plugin-frame.git
```
3. **Install dependencies:**
```sh
composer install
npm install
```
4. **Build the plugin:**
- Global PHP and WP Cli is required.
- Command with `php` and `wp` 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`
5. **Dev Tools:**
- Cloudflared Tunnels: `npm run tunnel`
- Watch CSS: `npm run watch`
- Tailwind CSS Watch: `npm run tailwind-watch`
6. **Activate the plugin** through the WordPress dashboard.
7. **Start developing your plugin!** 🎉
---
## ⚡ Features
- 🚀 **Modern development workflow**
- 🔍 **Follows WordPress & PHP coding standards**
- 🔧 **Built-in build tools for performance optimization**
- 🛠 **Developer-friendly architecture**
---
## 📌 Requirements
- **WordPress:** 5.0 or higher
- **PHP:** 7.4 or higher
- **Composer** (for dependency management)
- **Node.js & npm** (for frontend assets & build tools)
---
## 🛠️ Technologies Used
- **WordPress** | **PHP** | **SQL**
- **Composer** | **Node.js** | **npm**
- **Webpack** | **Babel** | **Grunt**
- **Tailwind CSS** | **Twig** | **Alpine.js**
- **JavaScript** | **AJAX** | **CSS**
- **Cloudflared** | **WP-CLI**
---
## 🤝 Contributing
We welcome contributions! If you’d like to improve Plugin Frame, feel free to open an issue or submit a pull request.
---
## 📜 License
This project is licensed under the **GPLv3** license.
---
## 🏆 Credits
- Developed by [Mahamudul Hasan Rubel](https://mhr.ractstudio.com/)
---
## 📬 Contact
- **📱 WhatsApp:** +8801734998405
- **📧 Email:** [bd.mhrubel@gmail.com](mailto:bd.mhrubel@gmail.com)
---
🚀 **Build powerful WordPress plugins effortlessly with Plugin Frame!**