Building Dynamic Menus in Filament + Laravel

Building dynamic navigation menus is a common requirement in modern web applications. Whether you’re creating a CMS, a SaaS dashboard, or a content-driven website, hardcoding menus quickly becomes difficult to maintain and scale. In frameworks like Laravel, developers often rely on structured data and admin panels to manage application content. This is where Filament becomes … Read more

How to Show Different Stats Widgets to Different Roles in FilamentPHP

When building dashboards in FilamentPHP, you may want to display different stats widgets to different user roles.For example: Filament makes this very easy by using simple role or permission checks inside your widget. 1. Create your StatsOverviewWidget The above command will generate the StatsOverview file. Permission Hide the entire widget Lets say, we want to … Read more