I was waiting for this video thanks for sharing the knowledge. and also waiting for last episode.
@techgainers4 ай бұрын
Thankyou Sir
@JafarH-ip5qh4 ай бұрын
🎉
@affipets3 ай бұрын
I have an issue when i add permission or role, then by deafult sanctum guard is use.
@ajpatelofficial63544 ай бұрын
When we delete the user who has admin and writer roles, is it necessary to remove roles before deleting the user, or will it be deleted automatically from the database?
@PHPTechLife4 ай бұрын
when you delete a user it's assigned role will delete automatically.
@future_of_coding4 ай бұрын
@phptechlife Have a question? why don't You use, resource route?
@PHPTechLife4 ай бұрын
Yes, you can use resource route
@future_of_coding4 ай бұрын
@@PHPTechLife main to karta hu, Just asking why don't you use, is there any reason, it is bad practice if I use resource route..
@PHPTechLife4 ай бұрын
@@future_of_coding Look my subscribers are not experts like you, so that's the reason I don't use the resource route in my videos.
@Ahmed-kl7kd2 ай бұрын
Sir $hasroles =$user->roles->pluck('id') Sir id null arahi hai empty array
@uniqwibe_official19 күн бұрын
$hasRoles = $users->roles ? $users->roles->pluck('id') : collect(); // Return an empty collection if no roles ahmad have to write this code
@SonuKumawat114 ай бұрын
jab me url se kisi ko access kar rha to toh wo denied nahi kr raha , laravel 11 me spatie ka middleware kaise lagau