Multitenant/Company plugin

As promised in the live stream. The link to a nice plugin for making a multi tenant installation with edit company and user profile. https://github.com/andrewdwallo/filament-companies
GitHub
GitHub - andrewdwallo/filament-companies
Contribute to andrewdwallo/filament-companies development by creating an account on GitHub.
1 Reply
Bellegend
Bellegend14mo ago
at AdminPanelProvider add this Function Video link here https://youtu.be/4ugMYpzLA0c?t=5799
return $panel
->profile();
->....
//-------------------------------------
public function boot()
{
Filament::serving(function (){
Filament::registerUserMenuItems([
'account' => MenuItem::make()
->label('Your Profile')
->url(UserResource::getUrl('edit',['record' => auth()->user()]))
]);
});
}
return $panel
->profile();
->....
//-------------------------------------
public function boot()
{
Filament::serving(function (){
Filament::registerUserMenuItems([
'account' => MenuItem::make()
->label('Your Profile')
->url(UserResource::getUrl('edit',['record' => auth()->user()]))
]);
});
}
or use this from docs https://filamentphp.com/docs/3.x/panels/users#customizing-the-authentication-features
JustSteveKing
YouTube
Filament: with Dan Harrin and Ryan Chandler
In this stream I will be joined by Dan Harrin and Ryan Chandler, the maintainers of Filament, as we dive into how we can use filament to build awesome admin panels and forms in the TALL stack. Follow Dan on twitter: https://twitter.com/danjharrin Follow Ryan on twitter: https://twitter.com/ryangjchandler Subscribe to Dans YouTube Channel: https...
Want results from more Discord servers?
Add your server