1. Go to this page and download the library: Download ipatco/filament-profile library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
ipatco / filament-profile example snippets
use Filament\Support\Icons\Heroicon;
use Ipatco\FilamentProfile\FilamentProfilePlugin;
->plugins([
FilamentProfilePlugin::make()
->showOnDropdown()
->icon(Heroicon::OutlinedUserCircle)
->label('Profile'),
])
FilamentProfilePlugin::make()
->showOnDropdown() // Profile in the avatar menu (default)
->showOnSideNav() // Also show in the sidebar
->label('My profile')
->icon(Heroicon::OutlinedUserCircle)
->group('Account') // Sidebar group
->sort(-1)
->accountWidget() // Optional dashboard widget
->simpleProfile(); // Compact layout without the sidebar