class FilamentManager (View source)

Properties

protected string|null $currentDomain
protected Panel|null $currentPanel
protected bool $isServing
protected bool $isCurrentPanelBooted
protected Model|null $tenant

Methods

__construct()

No description

Guard
auth()

No description

void
bootCurrentPanel()

No description

array
buildNavigation()

No description

string
getAuthGuard()

No description

string|null
getAuthPasswordBroker()

No description

Htmlable
getBrandName()

No description

Htmlable|null
getBrandLogo()

No description

string|null
getBrandLogoHeight()

No description

string
getCollapsedSidebarWidth()

No description

Panel|null
getCurrentPanel()

No description

Htmlable|null
getDarkModeBrandLogo()

No description

string|null
string
getDefaultAvatarProvider()

No description

getDefaultPanel()

No description

string|null
getEmailVerificationPromptUrl(array $parameters = [])

No description

string
getEmailVerifiedMiddleware()

No description

string|null
getFavicon()

No description

string
getFontFamily()

No description

Htmlable
getFontHtml()

No description

string
getFontProvider()

No description

string|null
getFontUrl()

No description

string
getGlobalSearchDebounce()

No description

array
getGlobalSearchKeyBindings()

No description

string|null
getGlobalSearchFieldSuffix()

No description

GlobalSearchProvider|null
getGlobalSearchProvider()

No description

string|null
getHomeUrl()

No description

string|null
getId()

No description

string|null
getLoginUrl(array $parameters = [])

No description

string
getLogoutUrl(array $parameters = [])

No description

MaxWidth|string|null
getMaxContentWidth()

No description

string|null
getModelResource(Model $model)

No description

string
getNameForDefaultAvatar(Authenticatable $record)

No description

array
getNavigation()

No description

array
getNavigationGroups()

No description

array
getNavigationItems()

No description

array
getClusteredComponents(string|null $cluster)

No description

array
getPages()

No description

getPanel(string|null $id = null, bool $isStrict = true)

No description

array
getPanels()

No description

getPlugin(string $id)

No description

string|null
getProfileUrl(array $parameters = [])

No description

bool
isProfilePageSimple()

No description

string|null
getRegistrationUrl(array $parameters = [])

No description

string|null
getRequestPasswordResetUrl(array $parameters = [])

No description

string
getResetPasswordUrl(string $token, Authenticatable $user, array $parameters = [])

No description

array
getResources()

No description

string
getResourceUrl(Model $model, string $name = 'index', array $parameters = [], bool $isAbsolute = true, Model|null $tenant = null)

No description

string
getSidebarWidth()

No description

Model|null
getTenant()

No description

string
getTenantAvatarUrl(Model $tenant)

No description

Provider|null
getTenantBillingProvider()

No description

string|null
getTenantBillingUrl(array $parameters = [], Model|null $tenant = null)

No description

array
getTenantMenuItems()

No description

string|null
getTenantModel()

No description

string
getTenantName(Model $tenant)

No description

string
string|null
getProfilePage()

No description

string|null
getTenantProfilePage()

No description

string|null
getTenantProfileUrl(array $parameters = [])

No description

string|null
getTenantRegistrationPage()

No description

string|null
getTenantRegistrationUrl(array $parameters = [])

No description

getTheme()

No description

string
getUserAvatarUrl(Authenticatable $user)

No description

Model|null
getUserDefaultTenant(Authenticatable $user)

No description

array
getUserMenuItems()

No description

string
getUserName(Authenticatable $user)

No description

array
getUserTenants(Authenticatable $user)

No description

string|null
getUrl(Model|null $tenant = null)

No description

string
getVerifyEmailUrl(Authenticatable $user, array $parameters = [])

No description

array
getWidgets()

No description

bool
hasBreadcrumbs()

No description

bool
hasBroadcasting()

No description

bool
bool
hasDarkMode()

No description

bool
hasDarkModeForced()

No description

bool
hasDatabaseNotifications()

No description

bool
bool
hasEmailVerification()

No description

bool
hasLogin()

No description

bool
hasNavigation()

No description

bool
hasPasswordReset()

No description

bool
hasPlugin(string $id)

No description

bool
hasProfile()

No description

bool
hasRegistration()

No description

bool
hasTenantMenu()

No description

bool
hasTenancy()

No description

bool
hasTenantBilling()

No description

bool
hasTenantProfile()

No description

bool
hasTenantRegistration()

No description

bool
hasTopbar()

No description

bool
hasTopNavigation()

No description

bool
hasUnsavedChangesAlerts()

No description

bool
isGlobalSearchEnabled()

No description

bool
isServing()

No description

bool
bool
void
registerPanel(Panel $panel)

No description

Htmlable
renderHook(string $name) deprecated

No description

void
serving(Closure $callback)

No description

void
currentDomain(string|null $domain)

No description

void
setCurrentPanel(Panel|null $panel)

No description

void
setServingStatus(bool $condition = true)

No description

void
setTenant(Model|null $tenant, bool $isQuiet = false)

No description

void
registerNavigationGroups(array $groups) deprecated

No description

void
registerNavigationItems(array $items) deprecated

No description

void
registerPages(array $pages) deprecated

No description

void
registerRenderHook(string $name, Closure $hook) deprecated

No description

void
registerResources(array $resources) deprecated

No description

void
registerScripts(array $scripts, bool $shouldBeLoadedBeforeCoreScripts = false) deprecated

No description

void
registerScriptData(array $data) deprecated

No description

void
registerStyles(array $styles) deprecated

No description

void
registerTheme(Htmlable|null $theme) deprecated

No description

void
registerViteTheme(string|array $theme, string|null $buildDirectory = null) deprecated

No description

void
registerUserMenuItems(array $items) deprecated

No description

void
registerWidgets(array $widgets) deprecated

No description

ThemeMode
getDefaultThemeMode()

No description

bool
arePasswordsRevealable()

No description

string
getCurrentDomain(string|null $testingDomain = null)

No description

Details

__construct()

No description

Guard auth()

No description

Return Value

Guard

void bootCurrentPanel()

No description

Return Value

void

array buildNavigation()

No description

Return Value

array

string getAuthGuard()

No description

Return Value

string

string|null getAuthPasswordBroker()

No description

Return Value

string|null

Htmlable getBrandName()

No description

Return Value

Htmlable

No description

Return Value

Htmlable|null

string|null getBrandLogoHeight()

No description

Return Value

string|null

string getCollapsedSidebarWidth()

No description

Return Value

string

Panel|null getCurrentPanel()

No description

Return Value

Panel|null

No description

Return Value

Htmlable|null

string|null getDatabaseNotificationsPollingInterval()

No description

Return Value

string|null

string getDefaultAvatarProvider()

No description

Return Value

string

Panel getDefaultPanel()

No description

Return Value

Panel

Exceptions

NoDefaultPanelSetException

string|null getEmailVerificationPromptUrl(array $parameters = [])

No description

Parameters

array $parameters

Return Value

string|null

string getEmailVerifiedMiddleware()

No description

Return Value

string

string|null getFavicon()

No description

Return Value

string|null

string getFontFamily()

No description

Return Value

string

Htmlable getFontHtml()

No description

Return Value

Htmlable

string getFontProvider()

No description

Return Value

string

string|null getFontUrl()

No description

Return Value

string|null

string getGlobalSearchDebounce()

No description

Return Value

string

array getGlobalSearchKeyBindings()

No description

Return Value

array

string|null getGlobalSearchFieldSuffix()

No description

Return Value

string|null

GlobalSearchProvider|null getGlobalSearchProvider()

No description

Return Value

GlobalSearchProvider|null

string|null getHomeUrl()

No description

Return Value

string|null

string|null getId()

No description

Return Value

string|null

string|null getLoginUrl(array $parameters = [])

No description

Parameters

array $parameters

Return Value

string|null

string getLogoutUrl(array $parameters = [])

No description

Parameters

array $parameters

Return Value

string

MaxWidth|string|null getMaxContentWidth()

No description

Return Value

MaxWidth|string|null

string|null getModelResource(Model $model)

No description

Parameters

Model $model

Return Value

string|null

string getNameForDefaultAvatar(Authenticatable $record)

No description

Parameters

Authenticatable $record

Return Value

string

array getNavigation()

No description

Return Value

array

array getNavigationGroups()

No description

Return Value

array

array getNavigationItems()

No description

Return Value

array

array getClusteredComponents(string|null $cluster)

No description

Parameters

string|null $cluster

Return Value

array

array getPages()

No description

Return Value

array

Panel getPanel(string|null $id = null, bool $isStrict = true)

No description

Parameters

string|null $id
bool $isStrict

Return Value

Panel

array getPanels()

No description

Return Value

array

Plugin getPlugin(string $id)

No description

Parameters

string $id

Return Value

Plugin

string|null getProfileUrl(array $parameters = [])

No description

Parameters

array $parameters

Return Value

string|null

bool isProfilePageSimple()

No description

Return Value

bool

string|null getRegistrationUrl(array $parameters = [])

No description

Parameters

array $parameters

Return Value

string|null

string|null getRequestPasswordResetUrl(array $parameters = [])

No description

Parameters

array $parameters

Return Value

string|null

string getResetPasswordUrl(string $token, Authenticatable $user, array $parameters = [])

No description

Parameters

string $token
Authenticatable $user
array $parameters

Return Value

string

array getResources()

No description

Return Value

array

string getResourceUrl(Model $model, string $name = 'index', array $parameters = [], bool $isAbsolute = true, Model|null $tenant = null)

No description

Parameters

Model $model
string $name
array $parameters
bool $isAbsolute
Model|null $tenant

Return Value

string

string getSidebarWidth()

No description

Return Value

string

Model|null getTenant()

No description

Return Value

Model|null

string getTenantAvatarUrl(Model $tenant)

No description

Parameters

Model $tenant

Return Value

string

Provider|null getTenantBillingProvider()

No description

Return Value

Provider|null

string|null getTenantBillingUrl(array $parameters = [], Model|null $tenant = null)

No description

Parameters

array $parameters
Model|null $tenant

Return Value

string|null

array getTenantMenuItems()

No description

Return Value

array

string|null getTenantModel()

No description

Return Value

string|null

string getTenantName(Model $tenant)

No description

Parameters

Model $tenant

Return Value

string

string getTenantOwnershipRelationshipName()

No description

Return Value

string

string|null getProfilePage()

No description

Return Value

string|null

string|null getTenantProfilePage()

No description

Return Value

string|null

string|null getTenantProfileUrl(array $parameters = [])

No description

Parameters

array $parameters

Return Value

string|null

string|null getTenantRegistrationPage()

No description

Return Value

string|null

string|null getTenantRegistrationUrl(array $parameters = [])

No description

Parameters

array $parameters

Return Value

string|null

Theme getTheme()

No description

Return Value

Theme

string getUserAvatarUrl(Authenticatable $user)

No description

Parameters

Authenticatable $user

Return Value

string

Model|null getUserDefaultTenant(Authenticatable $user)

No description

Parameters

Authenticatable $user

Return Value

Model|null

array getUserMenuItems()

No description

Return Value

array

string getUserName(Authenticatable $user)

No description

Parameters

Authenticatable $user

Return Value

string

array getUserTenants(Authenticatable $user)

No description

Parameters

Authenticatable $user

Return Value

array

string|null getUrl(Model|null $tenant = null)

No description

Parameters

Model|null $tenant

Return Value

string|null

string getVerifyEmailUrl(Authenticatable $user, array $parameters = [])

No description

Parameters

Authenticatable $user
array $parameters

Return Value

string

array getWidgets()

No description

Return Value

array

bool hasBreadcrumbs()

No description

Return Value

bool

bool hasBroadcasting()

No description

Return Value

bool

bool hasCollapsibleNavigationGroups()

No description

Return Value

bool

bool hasDarkMode()

No description

Return Value

bool

bool hasDarkModeForced()

No description

Return Value

bool

bool hasDatabaseNotifications()

No description

Return Value

bool

bool hasLazyLoadedDatabaseNotifications()

No description

Return Value

bool

bool hasEmailVerification()

No description

Return Value

bool

bool hasLogin()

No description

Return Value

bool

bool hasNavigation()

No description

Return Value

bool

bool hasPasswordReset()

No description

Return Value

bool

bool hasPlugin(string $id)

No description

Parameters

string $id

Return Value

bool

bool hasProfile()

No description

Return Value

bool

bool hasRegistration()

No description

Return Value

bool

bool hasTenantMenu()

No description

Return Value

bool

bool hasTenancy()

No description

Return Value

bool

bool hasTenantBilling()

No description

Return Value

bool

bool hasTenantProfile()

No description

Return Value

bool

bool hasTenantRegistration()

No description

Return Value

bool

bool hasTopbar()

No description

Return Value

bool

bool hasTopNavigation()

No description

Return Value

bool

bool hasUnsavedChangesAlerts()

No description

Return Value

bool

bool isGlobalSearchEnabled()

No description

Return Value

bool

bool isServing()

No description

Return Value

bool

bool isSidebarCollapsibleOnDesktop()

No description

Return Value

bool

bool isSidebarFullyCollapsibleOnDesktop()

No description

Return Value

bool

void registerPanel(Panel $panel)

No description

Parameters

Panel $panel

Return Value

void

Htmlable renderHook(string $name) deprecated

deprecated Use the `\Filament\Support\Facades\FilamentView::renderHook()` method instead.

No description

Parameters

string $name

Return Value

Htmlable

void serving(Closure $callback)

No description

Parameters

Closure $callback

Return Value

void

void currentDomain(string|null $domain)

No description

Parameters

string|null $domain

Return Value

void

void setCurrentPanel(Panel|null $panel)

No description

Parameters

Panel|null $panel

Return Value

void

void setServingStatus(bool $condition = true)

No description

Parameters

bool $condition

Return Value

void

void setTenant(Model|null $tenant, bool $isQuiet = false)

No description

Parameters

Model|null $tenant
bool $isQuiet

Return Value

void

void registerNavigationGroups(array $groups) deprecated

deprecated Use the `navigationGroups()` method on the panel configuration instead.

No description

Parameters

array $groups

Return Value

void

void registerNavigationItems(array $items) deprecated

deprecated Use the `navigationItems()` method on the panel configuration instead.

No description

Parameters

array $items

Return Value

void

void registerPages(array $pages) deprecated

deprecated Use the `pages()` method on the panel configuration instead.

No description

Parameters

array $pages

Return Value

void

void registerRenderHook(string $name, Closure $hook) deprecated

deprecated Use the `renderHook()` method on the panel configuration instead.

No description

Parameters

string $name
Closure $hook

Return Value

void

void registerResources(array $resources) deprecated

deprecated Use the `resources()` method on the panel configuration instead.

No description

Parameters

array $resources

Return Value

void

void registerScripts(array $scripts, bool $shouldBeLoadedBeforeCoreScripts = false) deprecated

deprecated Register scripts using the `FilamentAsset` facade instead.

No description

Parameters

array $scripts
bool $shouldBeLoadedBeforeCoreScripts

Return Value

void

void registerScriptData(array $data) deprecated

deprecated Register script data using the `FilamentAsset` facade instead.

No description

Parameters

array $data

Return Value

void

void registerStyles(array $styles) deprecated

deprecated Register styles using the `FilamentAsset` facade instead.

No description

Parameters

array $styles

Return Value

void

void registerTheme(Htmlable|null $theme) deprecated

deprecated Use the `theme()` method on the panel configuration instead.

No description

Parameters

Htmlable|null $theme

Return Value

void

void registerViteTheme(string|array $theme, string|null $buildDirectory = null) deprecated

deprecated Use the `viteTheme()` method on the panel configuration instead.

No description

Parameters

string|array $theme
string|null $buildDirectory

Return Value

void

void registerUserMenuItems(array $items) deprecated

deprecated Use the `userMenuItems()` method on the panel configuration instead.

No description

Parameters

array $items

Return Value

void

void registerWidgets(array $widgets) deprecated

deprecated Use the `widgets()` method on the panel configuration instead.

No description

Parameters

array $widgets

Return Value

void

ThemeMode getDefaultThemeMode()

No description

Return Value

ThemeMode

bool arePasswordsRevealable()

No description

Return Value

bool

string getCurrentDomain(string|null $testingDomain = null)

No description

Parameters

string|null $testingDomain

Return Value

string