awcodes/filament-quick-create
Adds a Quick Create dropdown to Filament Panels so users can create new records from anywhere. Automatically lists authorized resources in the current panel, with options to include or exclude specific resources. Compatible with Filament v2–v5.
Pros:
panels::user-menu.before) for placement, ensuring compatibility with Filament’s lifecycle.Cons:
Panel::plugins(), requiring minimal boilerplate.composer.json.includes() to limit options.command+shift+a). Test thoroughly with power users.includes().Resource class, which relies on Laravel’s ORM.Preparation:
resources/views/vendor/filament/panels/theme.css:
@source '../../../../vendor/awcodes/filament-quick-create/resources/**/*.blade.php';
Panel configuration to avoid merge conflicts.Installation:
composer require awcodes/filament-quick-create
app/Providers/FilamentPanelProvider.php:
public function panel(Panel $panel): Panel {
return $panel->plugins([
QuickCreatePlugin::make()
->includes([App\Filament\Resources\PostResource::class])
->keyBindings(['command+shift+n']),
]);
}
Configuration:
includes()) to test behavior.hiddenIcons()), or hooks (e.g., renderUsingHook()) based on feedback.Validation:
Rollout:
Resource, Page). Custom resource classes may need adjustments.canCreate()). Additional logic may be needed for custom permission systems.ckb for Kurdish). Extend with custom language files if needed.includes() to limit scope.label(), rounded()) based on design feedback.SIDEBAR_NAV_END) only if default placement is insufficient.alwaysShowModal()) for specific resources.composer why-not to check for outdated dependencies.command+shift+a) in the admin guide.How can I help you explore Laravel packages today?