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: Profile sort: 1

Introduction

The Profile page is typically the starting page for the user profile in this plugin. By default, it will display a user's name and the date their account was created, along with a form to edit their name. This, of course, can be customized according to your application's requirements.

Here is a screenshot of what the base Profile page will look like:

base profile page

And here is the default edit form:

base profile edit form

Customization

Unless your application is very basic, you will probably want to customize the information shown on the profile information component. The easiest way to handle this would be to provide your own schema to the ProfileInfolist schema class in a service provider:

use Rawilk\ProfileFilament\Filament\Schemas\Infolists\ProfileInfolist;
use Filament\Schemas\Components\Section;
use Rawilk\ProfileFilament\Filament\Actions\EditProfileInfoAction;

ProfileInfolist::configureComponents(fn (): array => [
    Section::make('Custom profile info')
        ->headerActions([
            EditProfileInfoAction::make(),
        ])
        ->schema([
            // ...
        ])
]);

The callback you provide will receive a $user object as a parameter if you need it.

{tip} If you are providing your own schema for this, you'll probably also want to use a different edit profile action to allow the user to edit those fields as well.

You could also extend or replace the ProfileInfo Livewire component instead if you wnat full control over it.

Default livewire components

The Profile Info page consists of Livewire components that provide the page's functionality. You can extend, replace, or remove any of the components on this page.

The default Livewire components rendered onto the Profile Info page include:

  • Rawilk\ProfileFilament\Livewire\Profile\ProfileInfo

Use a custom profile info page

If you'd rather use your own page class, you are free to do that too. You can provide a class-string of your custom profile info page class to the profileInfoPage() method on the plugin:

use Rawilk\ProfileFilament\ProfileFilamentPlugin;

ProfileFilamentPlugin::make()
    ->profileInfoPage(YourCustomProfileInfo::class)

See Pages for more information on customizing the pages.

Disable profile info

If you'd rather disable the page entirely, you can provide a null value to the profileInfoPage() method on the plugin:

use Rawilk\ProfileFilament\ProfileFilamentPlugin;

ProfileFilamentPlugin::make()
    ->profileInfoPage(null)

{note} The profile info page is the default profile page. If you disable it, be sure to provide a different default profile page to the useDefaultProfilePage() method on the plugin.

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.
milito/query-filter
apiboxsym/user-bundle
apiboxsym/health-check-bundle
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours