Clusters: Account Settings with Sub-Navigation

Filament 3
Also available in Filament 4/5 version

This project demonstrates how to use the Clusters feature for the Filament panels.

settings-subpages

Get the Source Code:

Only This Example

$9

One-time payment

Full source code for Clusters: Account Settings with Sub-Navigation
Downloadable ZIP file with the source code
Lifetime access to this example
GitHub Sign in with GitHub to buy

Sign in first, then complete your $9 checkout.

Best value — all 169 examples

FilamentExamples Membership

$99 /year
or
$199 lifetime
Access to code of all 169 examples
Future new examples and updates included
FilaCheck Pro package licence included
MCP server included
View membership plans

30-day money-back guarantee

How it works

First, the cluster must be enabled in the panel's service provider by adding additional discoverClusters() method.

class AdminPanelProvider extends PanelProvider
{
public function panel(Panel $panel): Panel
{
return $panel
// ...
->discoverResources(in: app_path('Filament/Resources'), for: 'App\\Filament\\Resources')
->discoverPages(in: app_path('Filament/Pages'), for: 'App\\Filament\\Pages')
->discoverClusters(in: app_path('Filament/Clusters'), for: 'App\\Filament\\Clusters');
}
}

The cluster is created using an Artisan command and named AccountSettings.

php artisan make:filament-cluster AccountSettings

Three custom pages are created for the cluster using an Artisan command. During the custom page creation, the cluster's namespace is chosen.

php artisan make:filament-page ProfileSettings --type=custom
php artisan make:filament-page ChangePassword --type=custom
php artisan make:filament-page MyMembership --type=custom

Selecting clusters namespace while creating the custom page automatically sets...

The FULL tutorial is available after the purchase: in the Readme file of the official repository you would get invited to.