- How do I install the Filament Command Palette in a Laravel 13 project?
- Run `composer require usamamuneerchaudhary/filament-command-palette` to install the package. Then register the plugin in your Filament panel provider using `FilamentCommandPalettePlugin::make()`. Ensure you’re using Filament v2.5+ for full Laravel 13 compatibility.
- Does this package work with Laravel 12, or should I upgrade to Laravel 13?
- While the package may work on Laravel 12, it’s officially supported on Laravel 13 and Filament v2.5+. Upgrading ensures access to new features like Pint, Bootstrap 5 defaults, and Symfony 7 components, reducing long-term compatibility risks.
- Can I customize the keyboard shortcut for the command palette?
- Yes, publish the config file with `php artisan vendor:publish --tag=command-palette-config` to override the default `Cmd+K`/`Ctrl+K` shortcut. You can also set environment variables like `COMMAND_PALETTE_SHORTCUTS` for dynamic configurations.
- Will this package conflict with other Filament plugins or Symfony 7 components?
- Low risk of conflicts, but ensure your Filament plugins support Symfony 7.x if using Laravel 13. The package uses flexible version constraints (e.g., `^2.0` for Filament) to avoid hard locks. Audit your `composer.json` if you encounter issues.
- How do I add custom commands or actions to the palette?
- Extend the palette by registering custom commands in your panel provider or via Artisan commands. Laravel 13’s improved service container allows lazy-loading commands based on user roles or permissions for better scalability.
- Is the command palette compatible with Filament v3 when it releases?
- The package is designed to align with Filament’s modular architecture, so it should adapt to Filament v3. Monitor Filament’s roadmap for breaking changes, especially around Laravel 13’s tighter coupling with Filament’s core features like Bootstrap Icons.
- Does this package introduce performance overhead in large Filament panels?
- No reported regressions, but test with Laravel 13’s optimized OPcache and routing. For panels with 100+ commands, benchmark performance after running `php artisan optimize` to ensure smooth resolution times.
- Can I use this package in a CI/CD pipeline with Laravel 13’s new testing utilities?
- Yes, the package integrates seamlessly with Laravel 13’s testing improvements, including Pest. Ensure your test suite covers keyboard shortcuts, command filtering, and edge cases like role-based command visibility.
- What’s the end-of-life (EOL) date for Laravel 12 support in this package?
- The package does not specify an EOL for Laravel 12, but active maintenance focuses on Laravel 13. If you’re stuck on Laravel 12, consider pinning to a stable Filament v2.x release and monitoring for deprecation warnings.
- Are there alternatives to this package for Filament command palettes?
- Few alternatives exist for Filament-specific command palettes, but you could build a custom solution using Livewire or Alpine.js. However, this package offers a battle-tested, plugin-first approach with Filament v2+ and Laravel 13 support.