internachi/modular-livewire 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

internachi/modular-livewire

最新稳定版本:1.0.0

Composer 安装命令:

composer require internachi/modular-livewire

包简介

Livewire plugin for internachi/modular

README 文档

README

Build Status Latest Stable Release MIT Licensed

Modular Livewire

Livewire plugin for internachi/modular. Automatically discovers and registers Livewire components from your application modules.

Requirements

Installation

composer require internachi/modular-livewire

That's it. The package auto-registers its service provider and plugin via Laravel's package discovery.

How It Works

This package registers a plugin with internachi/modular's plugin architecture that automatically discovers Livewire components inside your modules. It scans for PHP files in each module's src/Livewire/ directory and registers them with Livewire.

Component Discovery

Place your Livewire components in src/Livewire/ within any module:

app-modules/
├── billing/
│   └── src/
│       └── Livewire/
│           ├── InvoiceTable.php        → billing::invoice-table
│           └── Reports/
│               └── MonthlySummary.php  → billing::reports.monthly-summary
└── users/
    └── src/
        └── Livewire/
            └── UserProfile.php         → users::user-profile

Naming Convention

Components are registered with the format {module-name}::{component-name}:

  • Class names are converted to kebab-case
  • Subdirectories use dot notation
  • The module name prefix comes from the module's directory name

Usage in Blade

<livewire:billing::invoice-table />

<livewire:billing::reports.monthly-summary />

<livewire:users::user-profile />

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-05-12