PHPackages                             modulespress/framework - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. modulespress/framework

ActiveLibrary[Framework](/categories/framework)

modulespress/framework
======================

The core powering the modulespress framework.

0.1.0(1y ago)1576MITPHP

Since Nov 29Pushed 1y ago2 watchersCompare

[ Source](https://github.com/devsroutes/modulespress)[ Packagist](https://packagist.org/packages/modulespress/framework)[ RSS](/packages/modulespress-framework/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (5)Versions (2)Used By (0)

[ ![ModulesPress Logo](https://camo.githubusercontent.com/14344ce3cfb0a913c3225cca91b932f8fc93fcb7e374112ebfdaaf593485bbf0/68747470733a2f2f6d6f64756c657370726573732e64657673726f757465732e636f2f6c6f676f2e706e67)](https://modulespress.devsroutes.co)

[![Total Downloads](https://camo.githubusercontent.com/8689110e2463a0e0c0d329dae1fa2fe133991b390812e972b6adc418e848347b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d6f64756c657370726573732f6672616d65776f726b)](https://packagist.org/packages/modulespress/framework)[![Latest Stable Version](https://camo.githubusercontent.com/b84f11566351bd0f5473fe33dfe4cbce95c998f7120e71a565d3163257d7d823/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6f64756c657370726573732f6672616d65776f726b)](https://packagist.org/packages/modulespress/framework)[![NPM Version](https://camo.githubusercontent.com/a4c97870528cf577be50ae994816cd17e7bf5fbaf390e3498a0fee3bec1f8482/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f406d6f64756c657370726573732f766974652d706c7567696e2e737667)](https://www.npmjs.com/package/@modulespress/vite-plugin)[![License](https://camo.githubusercontent.com/41b1a35c90ff9600a4d2ad5e4fd704386c5cdda7da6c9e74788952db44360c64/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6d6f64756c657370726573732f6672616d65776f726b)](https://packagist.org/packages/modulespress/framework)[![Discord](https://camo.githubusercontent.com/98176fa19851c291d78912ec8cdaf0d64de44a8d0caee4d4feb1711a0830be58/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646973636f72642d6f6e6c696e652d627269676874677265656e2e737667)](https://discord.gg/jtUn2X3VeH)

 **ModulesPress** is a modern WordPress plugin development framework that brings the power of **TypeScript**, **React**, and **NestJS-style architecture** to WordPress development.

---

🌟 Overview
----------

[](#-overview)

ModulesPress supercharges your WordPress plugin development by introducing modern development practices and powerful features that make building complex plugins a breeze.

✨ Key Features
--------------

[](#-key-features)

- 📂 **PSR-4 Autoloader** - All classes are loaded by default
- 🎯 **Modern Architecture** - NestJS-inspired modular design
- ⚡ **Vite Integration** - Bundling and hot reloading of assets
- 🎨 **Blade Templates** - Elegant templating with Laravel's Blade
- 🚀 **TypeScript &amp; React** - First-class support for modern frontend
- 🛠️ **PHP 8+ Attributes** - Use decorators for clean, declarative code
- 🎭 **Dependency Injection** - Powerful IoC container
- 🔌 **Plugin Framework** - Built specifically for WordPress plugins
- 🔄 **Hot Module Replacement** - Instant feedback during development

### 📹 ModulesPress Video Guide

[](#-modulespress-video-guide)

[![](https://camo.githubusercontent.com/bc966a8cb5862f964f6c3a765aea2f415c4c7c6b5d49be989844b5ef151d98da/68747470733a2f2f6d61726b646f776e2d766964656f732d6170692e6a6f7267656e6b682e6e6f2f796f75747562652f415a324b73456b73746b6b)](https://youtu.be/AZ2KsEkstkk)

Discover how to get started with ModulesPress. This video walks you through installation, setup, and plugin packaging using the powerful ModulesPress framework and CLI.

🚀 Quick Start
-------------

[](#-quick-start)

### Installation

[](#installation)

```
composer global require modulespress/cli
```

> **Note**: Make sure the composer global bin directory is in your PATH.

After installation, you can access the CLI using either `modulespress` or `mp` in your terminal.

### Documentation

[](#documentation)

For comprehensive documentation and guides, visit our [Official Documentation](https://modulespress.devsroutes.co/docs).

🎯 Framework Philosophy
----------------------

[](#-framework-philosophy)

ModulesPress is built on these core principles:

1. **Modern Development**: Embrace contemporary development practices
2. **Developer Experience**: Provide excellent tooling and debugging
3. **Type Safety**: Leverage TypeScript and PHP 8+ features
4. **Performance**: Optimize for production environments
5. **WordPress Integration**: Seamless WordPress compatibility

📝 Example Usage
---------------

[](#-example-usage)

Here's a simple example of a ModulesPress plugin:

```
/**
 * Plugin Name: My Awesome Plugin
 * Description: Built with ModulesPress
 * Version: 1.0.0
 */

use MyPlugin\Modules\RootModule\RootModule;
use ModulesPress\Foundation\ModulesPressPlugin;

if (!defined('ABSPATH')) exit;

final class MyAwesomePlugin extends ModulesPressPlugin {

    public const NAME = "My ModulesPress Plugin";
    public const SLUG = "my-modulespress-plugin";

    public function __construct() {
        parent::__construct(
            rootModule: RootModule::class,
            rootDir: __DIR__,
            rootFile: __FILE__
        );
    }

}

(new MyAwesomePlugin())->bootstrap();
```

🤝 Contributing
--------------

[](#-contributing)

We welcome contributions! Please feel free to submit a Pull Request.

📄 License
---------

[](#-license)

This project is licensed under the [MIT License](LICENSE).

🌐 Community
-----------

[](#-community)

Join our [Discord community](https://discord.gg/jtUn2X3VeH) for support and discussions.

📚 Documentation
---------------

[](#-documentation)

For detailed documentation, please visit our [Wiki](https://modulespress.devsroutes.co/docs).

🤝 Support
---------

[](#-support)

If you need help or have questions:

- Open an [issue](../../issues)
- Join our [Discord community](https://discord.gg/jtUn2X3VeH)

🙏 Acknowledgments
-----------------

[](#-acknowledgments)

Thanks to all our contributors and the open source community!

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

535d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cca4692b3608ca98f6a17bef05b677e2e9ab5ff428b4ff0f1308a2e8d6de8431?d=identicon)[saadnadeem](/maintainers/saadnadeem)

---

Top Contributors

[![twicer-is-coder](https://avatars.githubusercontent.com/u/23407436?v=4)](https://github.com/twicer-is-coder "twicer-is-coder (2 commits)")

---

Tags

modulespressnestjsreactvitewordpresswordpress-developmentwordpress-pluginpluginframeworkwordpressdevelopmentmodulesplugin developmentmodulespressplugin-framework

### Embed Badge

![Health badge](/badges/modulespress-framework/health.svg)

```
[![Health](https://phpackages.com/badges/modulespress-framework/health.svg)](https://phpackages.com/packages/modulespress-framework)
```

###  Alternatives

[alleyinteractive/pest-plugin-wordpress

WordPress Pest Integration

263.7k1](/packages/alleyinteractive-pest-plugin-wordpress)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
