- What is sertxudeveloper/livewire-combobox used for?
- It adds a Livewire combobox component to Laravel forms, turning a standard select into a searchable, keyboard-friendly dropdown. It is aimed at Livewire applications that want a lightweight reactive picker without building custom JavaScript. Filtering is handled client-side, so it works well for long option lists.
- How do I install livewire-combobox in a Laravel app?
- Install it with Composer using sertxudeveloper/livewire-combobox. Publish the package views or assets with php artisan vendor:publish if needed, then use the Livewire component tag in Blade. No backend changes are required, but you should confirm your Livewire version before adopting it.
- Does livewire-combobox support Livewire 3?
- Yes, v2.1.1 explicitly adapts to Livewire 3's folder structure, confirming alignment with the current Livewire 3 architecture. That patch release resolves a known compatibility gap, so Livewire 3 projects should use v2.1.1 or later. Test component rendering in your app to confirm it matches your Livewire 3 setup.
- Does livewire-combobox work with Livewire 2?
- The integration guidance recommends upgrading Livewire 2 projects to Livewire 3 first, then installing v2.1.1. Backward compatibility with Livewire 2 is not clearly confirmed in the available evaluation. Treat Livewire 3 as the supported target and plan a Livewire upgrade before adoption.
- Do I need Alpine.js or a JavaScript build step to use livewire-combobox?
- No extra JavaScript build step is required according to the package blurb. It is a Livewire component with client-side filtering, so it should fit into an existing Livewire asset setup. Still check bundled assets and test for Alpine.js or duplicate JavaScript conflicts in your application.
- How do I use the combobox component in a Blade view?
- After installing and publishing the package, place its Livewire component tag in your Blade form. Bind it to your Livewire property like other Livewire inputs and verify the exact tag and property names in the README. Test search and keyboard behavior in the browser before relying on it in production forms.
- How do I publish livewire-combobox views, config, or assets?
- Use php artisan vendor:publish and select the package provider or tag. Publishing is part of the documented integration sequence before using the component in Blade. If you upgrade from an earlier version, verify that published views match Livewire 3's folder structure and re-publish if they are stale.
- Is livewire-combobox searchable and keyboard-friendly?
- Yes, it turns a standard select into a searchable dropdown with keyboard-friendly navigation. Filtering happens client-side, so typing filters options without a server round trip. This makes it useful for forms where users need to find one option from a longer list.
- What Laravel and PHP versions are required, and is it safe for production?
- Livewire 3 requires PHP 8.1+ and Laravel 9+, and the evaluation recommends Laravel 10+ with Livewire 3 as the ideal stack. Production risk is moderate-low because this is a small front-end component, but it has a single maintainer and community-only support. Pin package versions, run regression tests, and validate behavior in staging before deployment.
- Is livewire-combobox actively maintained, and what are the alternatives?
- The v2.1.1 compatibility patch shows active maintenance for Livewire 3, but support is community-driven through GitHub issues with no commercial backing. For enterprise use, consider forking the package or wrapping it with internal tests and documentation. Alternatives include native Livewire select components or custom Alpine.js combobox implementations.