Level 75
Using an if construct or auth and either display none or display block.
https://laravel.com/docs/11.x/blade#authentication-directives
Or depending on role don't show at all.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
How to manage the visibility of certain information on your Laravel dashboard based on user roles and permissions. For example on a school management system, a lecturer should only access few information from the dashboard such that he/she cannot see the total number of students etc
Please or to participate in this conversation.