承接 modulespress/framework 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

modulespress/framework

最新稳定版本:0.1.0

Composer 安装命令:

composer require modulespress/framework

包简介

The core powering the modulespress framework.

README 文档

README

ModulesPress Logo

Total Downloads Latest Stable Version NPM Version License Discord

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

🌟 Overview

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

✨ 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 & 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

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

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

For comprehensive documentation and guides, visit our Official Documentation.

🎯 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

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

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

📄 License

This project is licensed under the MIT License.

🌐 Community

Join our Discord community for support and discussions.

📚 Documentation

For detailed documentation, please visit our Wiki.

🤝 Support

If you need help or have questions:

🙏 Acknowledgments

Thanks to all our contributors and the open source community!

统计信息

  • 总下载量: 78
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 15
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 15
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-11-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固