© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
13 replies
matin rajabi

resource not displaying on sidebar

hello.
i create a resource with this cmd:
php artisan make:filament-resource Customer --generate
php artisan make:filament-resource Customer --generate


but it is not displaying on sidebar. i added this function in my resource file
public static function canViewAny(): bool
    {
        return true;
    }
public static function canViewAny(): bool
    {
        return true;
    }

but still not working.
what should i do
Solution
Please provide more info about your project, if you did some customizations
If you are using cache, you need to clear it https://filamentphp.com/docs/3.x/panels/installation#caching-filament-components
Installation - Panel Builder - Filament
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Resource not in sidebar
FilamentFFilament / ❓┊help
2y ago
Breadcrumbs not displaying correctly on resource
FilamentFFilament / ❓┊help
4mo ago
[Filament v3] Resource not showing in sidebar
FilamentFFilament / ❓┊help
9mo ago
Collapsible not working on sidebar
FilamentFFilament / ❓┊help
3y ago