internachi/modular-livewire
A Livewire plugin for internachi/modular that automatically discovers Livewire components in each module's src/Livewire directory and registers them as module::component names. Components are kebab-cased, subdirectories use dot notation, and they're instantly usable in Blade.
Livewire plugin for internachi/modular. Automatically discovers and registers Livewire components from your application modules.
internachi/modular ^3.0livewire/livewire ^3.0composer require internachi/modular-livewire
That's it. The package auto-registers its service provider and plugin via Laravel's package discovery.
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.
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
Components are registered with the format {module-name}::{component-name}:
<livewire:billing::invoice-table />
<livewire:billing::reports.monthly-summary />
<livewire:users::user-profile />
How can I help you explore Laravel packages today?