Fareez Ahamed

Full Stack Developer | Javascript, Laravel, SAP ABAP

Tag: Php (1)

Extending Blade for Role Checks in Laravel

Oct 27, 2019

Displaying parts of view based on conditions is super easy in Blade using @if ... @endif conditions. Imagine we are storing the role information as a string in the User model under the role field. Read more...