user type in laravel Tricks

Browse latest tricks and tips on user type in laravel.

Check user type in laravel

Add a type field in your auth table, once you added it save user type and check user type in Laravel using below code\Auth::user()->type // Returns logged in user typeRedirect u ...
published on : 8 hours ago 12 Comments