internachi/modular-livewire

Livewire plugin for internachi/modular
10,246 2
Install
composer require internachi/modular-livewire
Latest Version:2.0.1
PHP:>=8.3
License:MIT
Last Updated:Sep 7, 2026
Links: GitHub  ·  Packagist
Maintainer: inxilpro

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 />

Related Packages

Version History

Version Released PHP Laravel License
2.0.1 >=8.3 ^12|^13 MIT
2.0.0 >=8.3 ^12|^13 MIT
1.1.0 >=8.3 ^11|^12|^13|dev-master|dev-main MIT
1.0.0 >=8.3 ^11|^12|^13|dev-master|dev-main MIT
Pre-releases (1)
Version Released PHP Laravel License
0.0.1-beta.1 >=8.3 ^11|^12|^13|dev-master|dev-main MIT