DEV Community

Rupadana
Rupadana

Posted on

Hide filamentphp default Widget

Introduction

Before continuing, make sure you have installed panel builder.

php artisan filament:install --panels
Enter fullscreen mode Exit fullscreen mode

Edit AdminPanelProvider

Edit file app/Providers/Filament/AdminPanelProvider.php

Here we found default widgets, you can remove it.

$panel
->widgets([
    Widgets\AccountWidget::class,
    Widgets\FilamentInfoWidget::class,
])
Enter fullscreen mode Exit fullscreen mode

Open /admin and widget is gone.

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs