Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Profile Filament Plugin Laravel Package

rawilk/profile-filament-plugin

Filament plugin that jumpstarts a user profile area with multi-factor authentication, password and session management, migrations, and sensible defaults—opinionated but customizable. Designed to remove boilerplate and integrate cleanly into your panel.

View on GitHub
Deep Wiki
Context7

title: User Menu sort: 5

Introduction

The plugin automatically registers the profile link for the user menu. We handle setting some defaults for the link such as the label, icon and url to the plugin's default profile page.

Here is a screenshot of the default link we will register:

user menu

Setting the link label

By default, we show the authenticated user's name as the label for the profile link. You can set your own label by using the useProfileMenuLabel() method on the plugin:

use Rawilk\ProfileFilament\ProfileFilamentPlugin;

ProfileFilamentPlugin::make()
    ->useProfileMenuLabel('My profile')

{tip} You may pass in a closure to this method if you need to dynamically generate the label.

Setting the link icon

We defer to filament's PanelsIconAlias::USER_MENU_PROFILE_ITEM icon for the profile link's icon. To use a different icon, you can pass it to the useProfileMenuIcon() method on the plugin:

use Rawilk\ProfileFilament\ProfileFilamentPlugin;
use Filament\Support\Icons\Heroicon;

ProfileFilamentPlugin::make()
    ->useProfileMenuIcon(Heroicon::OutlinedCog)

Configuring the profile menu item

If you need more control and configuration over the profile menu item link, you may provide a closure to the configureProfileMenuItemAction() method on the plugin. We will evaluate the closure after we perform our own configurations on the action, and your closure can accept the action as a parameter.

use Rawilk\ProfileFilament\ProfileFilamentPlugin;
use Filament\Actions\Action;

ProfileFilamentPlugin::make()
    ->configureProfileMenuItemAction(
        fn (Action $action) => $action
            ->badge('My badge')
            ->url('/foo')
    )

Hiding the user menu item

If you'd rather not show the user profile menu item at all, you can completely remove it by using the hideFromUserMenu() method on the plugin:

use Rawilk\ProfileFilament\ProfileFilamentPlugin;

ProfileFilamentPlugin::make()
    ->hideFromUserMenu()
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
daikazu/eloquent-salesforce-objects
unseen-codes/chat
romalytar/yammi-jobs-monitoring-laravel
kisame76/filament-db-table-state
nqxcode/laravel-lucene-search
dpfx/laravel-livewire-wizards
workos/workos-php-laravel
sofa/laravel-global-scope
nawasara/auth-primitives
adhocrat-io/arkhe-main
make-dev/orca-harpoon
itsemon245/lamet
baks-dev/dashboard
amoifr/pickle-panther-bundle
make-dev/orca
dmstr/symfony-system-resources-bundle
dmstr/symfony-job-queue-bundle
dmstr/openapi-json-schema-bundle
dmstr/keycloak-security-bundle
dmstr/doctrine-audit-log-bundle