Main middleware k topic pr video bht search ki RU-vid pr Lekin Laravel 11 ki muje koi video ni mili q k Laravel 11 me middleware me changing hui he kuch ap ki is video se ye topic bi clear ho gya Thank you so much sir. RU-vid ka number one channel bnane k liy.
Thank youuuuuuuuu so much sir middleware ke uper itna detailed video banane ke liye. Aapne ek hi video mai pure middleware ka concept clear karr diya. RU-vid mai kisi ne itna detailed video nahi banaya. Thank you so much
38:30 Route::withoutMiddleware() will not be used in this way. This can be useful if you want to create routes that are exceptions to the global middleware applied to the rest of your routes. Sir, your teaching style is just amazing. I learned a lot from you. Thanks!
Thank you sir very much 😊😊 for this great videos I love all the videos. I learn HTML, CSS, JAVASCRIPT, PHP, SQL, LARAVEL, BOOSTRAP, JQUERY from your channels. Thanks a lot
Dear Sir, I have been your student for a significant amount of time, and I really appreciate your exceptional and in-depth teaching style. I have a suggestion that I believe would enhance the learning experience. If possible, could you consider incorporating "Adding keystroke to video" into your lectures? I believe this would be a valuable addition. Thank you for your consideration. Best regards, Saif
Really amazing way of teaching, kindly make a video on laravel pakages and how to set our project theme with breeze, please make this as soon as possible.
After video ka bhi remind banavi do sir. Or her Jo topic ka vidio aye uske comments me agla konsa ayega uska comment Karo to achha rahe sir .I humble request sir🎉❤
Can you please make videos on node.js and react. i'm already watching you CSS playlist and i really like the way you example everything in very simple way. Thanks and keep doing more :)
50:00 If you want to give multiple roles access to dashboard and inner page then you have to change somethings in handle function in ValidUser middleware as well public function handle(Request $request, Closure $next, string ...$roles): Response { echo "We are now in ValidUser Middleware"; // Output the roles being checked echo "" . implode(', ', $roles) . ""; if(Auth::check() && in_array(Auth::user()->role, $roles)) { return $next($request); } else { return redirect()->route('login'); } }
Wow you are our love sir.with this combination backend in laravel and front-end in react we will become full stack developer just because of you dear sir @@YahooBaba
Sir please API wala full details me project lana jisme sare most of use hone wale topic cover ho jaaye API bhot use hone wale hai sir mere job me please save my job🙏
ek baat bataye sir Jab ham controller sa condition chek sakta hai tho fir Middleware kyu use kare? Yes I know har controller function mein check ya conditon lagani hogi... iska alawaa koi other benefit of Middleware?
Dekhiye basically toh yahi use hai Middleware ka ki aapko controller ke file mein har page ke liye authentication ki condition nahi pass karni padegi, jis wajha se code chota ho jayega aur aapka kaam bhi fast hoga.
Dear Sir, ma asay he public function handle(Request $request, Closure $next, string $role): Response { if (Auth::check() && Auth::user()->role == $role) { # code... return $next($request); }else{ return response()->json([ 'message' => 'User Unauthorized' ]); } } } API Route pay laga raha hun alkin ye kaam nahi ker raha