Protecting Admin and User Pages in Laravel with Middleware | Advanced Laravel Middleware | HINDI

Sdílet
Vložit
  • čas přidán 29. 07. 2023
  • In this comprehensive tutorial, we delve into the world of Laravel Middleware and explore its powerful capabilities in handling both Admin and User pages. Laravel Middleware acts as a gatekeeper, enabling us to intercept and process incoming HTTP requests before they reach the designated routes.
    Throughout this video, we'll walk you through the step-by-step process of integrating Middleware into your Laravel application to secure and control access to different sections of your site. Whether you're building an admin dashboard or user-specific pages, implementing Middleware is crucial for maintaining a robust and secure web application.
    Join us as we demystify the concept of Laravel Middleware and demonstrate how to create custom middleware that caters specifically to the needs of your Admin and User pages. You'll learn how to differentiate between user roles, enforce authentication, and handle various scenarios seamlessly.
    If you're looking to elevate your Laravel development skills and build a more organized and secure application, this tutorial is perfect for you. By the end, you'll have a solid understanding of Laravel Middleware and be well-equipped to implement it effectively in your projects.
    Don't miss this opportunity to enhance your Laravel expertise and take your web applications to the next level. Hit the play button and let's dive into the world of Laravel Middleware with Admin and User Pages!
    Create a Role-based User Management System in Laravel | Full CRUD Guide | HINDI
    Part 1:
    • Create a Role-based Us...
    Our Playlists:
    OOP In PHP:
    • OOP - PHP
    Git Full Tutorial
    • GIT Tutorial
    Laravel 9:
    • Laravel 9
    Vue 3 Laravel 9 Tutorial:
    • Vue 3 Laravel 9
    Laravel Testing:
    • Laravel Testing
    Nuxt Js
    • NuxtJS
    Laravel And Vuejs
    • Laravel And Vuejs
    Laravel Notifications:
    • Laravel Notification
    Laravel And React Js
    • Laravel ReactJs
    Laravel Interview Questions And Answers:
    • Laravel Interview Ques...
    Laravel User Management System:
    • Laravel User Managemen...
    Laravel Multi Auth System
    • Laravel Multi Auth System
    Laravel Vue3 GraphQL
    • Laravel Vue 3 GraphQL
    Follow us:
    YoutTube: / ajayyadavexpo
    Instagram: / ajayyadavexpo
    Twitter : / ajayyadavexpo
    Linkedin: / ajayyadavexpo
    Github: github.com/ajayyadavexpo
    Please subscribe to my channel and share the video with your friends.
    #laravel #laravelmiddleware #middleware #laravelAdminAndUser #laravel_multi_auth

Komentáře • 18

  • @vcodev108
    @vcodev108 Před 11 měsíci

    Thanks, its was very useful.

  • @tarunjaiswal914
    @tarunjaiswal914 Před 19 dny

    Thank you your code is working properly, but how can I manage it for multiple user role as well their accessible routes!

  • @krishnaZm117
    @krishnaZm117 Před 10 dny

    Bhai aapne Middleware ke andar only 1 checkrole file create ki hai abhi , yah jo bhi files hai pahle se create ki hue ya abhi hue hai, me jab middleware create kar rha hu to only checkroles file hi create ho rahi hai please reply dena bhai #ajayyadav

  • @webdeveloper2042
    @webdeveloper2042 Před 11 měsíci

    Thank You !
    Please make more Videos Or Projects On Laravel + InteriaJs + Vue3

  • @shubhamsahuSD
    @shubhamsahuSD Před rokem

    Ek charcha polymorphic relatiinship pe bhi

  • @faransheikh7903
    @faransheikh7903 Před 11 měsíci

    Bhai.. apne roles jo show ho rahe hai multiples unke beech me comma kaise lagaya hai. Can u plz show the code. !!

    • @ajay-yadav
      @ajay-yadav  Před 11 měsíci

      uske liye aap meri es video se just phle ke video aayi thi usko dekho ... link description me hai

  • @mycode01
    @mycode01 Před 6 měsíci

    in my case here is error: Illuminate\Auth\SessionGuard::__construct(): Argument #2 ($provider) must be of type Illuminate\Contracts\Auth\UserProvider, null given, called in
    how to solve ?

  • @janugameryt5893
    @janugameryt5893 Před 8 měsíci

    Sir only middleware use krna koi login kiye bagair next page pr na jasky ap bta dien gy

  • @hrithik5220
    @hrithik5220 Před 11 měsíci

    Bhai aap Laravel 10 ka course launch kr dijiye please apka video kafi helpful hai 1 year se follow kr raha hu

    • @ajay-yadav
      @ajay-yadav  Před 11 měsíci

      Appreciate your viewership, and I'm delighted that my content has been beneficial to all of you.

  • @umerizharofficial
    @umerizharofficial Před 3 měsíci

    apni laravel tutorial ko number do title main mujhe bilkul samjh nahi aai sorry

  • @sk_gujjar47
    @sk_gujjar47 Před 11 měsíci

    How can I contact you ?? 🙄