joserick/laravel-livewire-discover
Automatically discover and register Livewire components in your Laravel app. It scans your configured directories and registers components for you, eliminating tedious manual registration in service providers. Lightweight, configurable, and quick to install via Composer.
Install with Composer and let Laravel discover the service provider:
composer require joserick/laravel-livewire-discover
Start with the package README and the published config file, if available. Look first for the discovery paths and namespace/prefix settings; those are the main integration surface. A practical first use case is registering one non-default Livewire component directory, such as a module or domain folder, then rendering and testing a single component before expanding discovery to other modules.
v1.3.2 is a bugfix release and should be a safe upgrade. It is especially relevant if you mix default Livewire components with prefixed/discovered components.
Use the package as a discovery layer for components that do not live in Livewire’s default location. Common patterns:
app/Livewire discovery intact.Keep custom discovery in a dedicated service provider or config block, and avoid registering the same component through both default Livewire discovery and this package.
php artisan optimize:clear after changing discovery paths/prefixes, especially in environments using config or component caching.How can I help you explore Laravel packages today?