Skip to content

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.

License

Notifications You must be signed in to change notification settings

RactStudio/plugin-frame

Repository files navigation

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

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:

    cd /path/to/wordpress/wp-content/plugins/
  2. Clone the repository:

    git clone https://github.com/RactStudio/plugin-frame.git
  3. Install dependencies:

    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


📬 Contact


🚀 Build powerful WordPress plugins effortlessly with Plugin Frame!

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published