Laravel Multi-Tenancy Tutorial | Implementing Multi-Tenancy in Laravel Applications |Part #1 | HINDI

Sdílet
Vložit
  • čas přidán 12. 08. 2023
  • Welcome to our comprehensive guide on implementing Multi-Tenant Architecture in Laravel! 🚀 If you're a developer aiming to build scalable, efficient, and secure applications that serve multiple clients or user groups, you're in for a treat. In this tutorial, we take you on a deep dive into the world of multi-tenancy within the Laravel framework.
    🏢 What is Multi-Tenancy?
    Multi-Tenancy allows you to create isolated and personalized environments for different clients, all within a single application. This not only enhances resource utilization but also ensures data separation and security.
    🛠️ What You'll Learn:
    Setting up the foundation for multi-tenancy in Laravel.
    Design considerations and best practices for structuring tenant-specific data.
    Techniques for managing authentication and authorization across multiple tenants.
    Database separation strategies for enhanced performance and scalability.
    Real-world examples and practical insights for a smoother implementation.
    🔑 Why Watch this Tutorial?
    Our goal is to empower developers of all levels with the knowledge and tools needed to confidently implement multi-tenancy in their Laravel projects. Whether you're working on a SaaS platform, a shared application, or any project that requires personalized user experiences, this tutorial has something valuable for you.
    👨‍💻 Who Should Watch?
    Laravel developers looking to expand their skill set.
    Tech leads interested in optimizing resource utilization.
    Project managers aiming to build versatile applications for diverse clients.
    By the end of this video, you'll be equipped with the expertise to architect and deploy robust multi-tenant applications using Laravel. Join us on this journey to unlock the potential of multi-tenancy and take your Laravel development to new heights. Don't forget to like, subscribe, and hit the notification bell to stay updated with our latest tech tutorials. Let's dive in and master Multi-Tenant Architecture in Laravel together! 🌟🏗️
    Laravel Multi-Tenancy Tutorial | Implementing Multi-Tenancy in Laravel Applications | HINDI
    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 #ajayyadav #multitenancy #multitenant #saasapplication #buildmultitenant

Komentáře • 92

  • @RohitSingh-ml2bz
    @RohitSingh-ml2bz Před 11 měsíci

    Sir bhot hi mazedaar topic choose kiya h aapne. Next video ka intezaar rahega. Thanks a million. 🎉

  • @faizan101010
    @faizan101010 Před 9 měsíci

    Zabardast bhai bohat asani se apni samjhaya hia .. thankyou

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

    great. understand the concept of multi tenancy and how to implement it on laravel . thanks for the time you spend to making our devs life easier .

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

    Thank you for covering this topic.

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

    Great Explenation

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

    Much awaiting tutorial 😊

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

    Hi ajay. thanks for making this video first. its an interesting topic and you explained it very well. i watched both of your videos the only thing missing is api routes. as directly i am unable to access api routes in tenants.php.
    please mention that if possible.
    Thanks Again. Keep up the good work.

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

    Great bhai. Lots of thanks from my side.

  • @Laravel_Tree
    @Laravel_Tree Před 7 měsíci +1

    Hi ! I have applied this package properly also the tenancy running on my local machine but when I deploy the code on live and
    create a new tenant then no running project on the new domain on live server. Did you know about this ??

  • @josesalcedo7275
    @josesalcedo7275 Před 10 měsíci

    Laravel installation is done with breeze, do you know how to do it with jetstream? I would like to thank you for the excellent tutorial

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

    Good knowledge

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

    Very helpful tutorial............ please create API for multi-tenancy

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

    Really Appreciated ... Thanks

  • @ShubhamSharma-sb7qq
    @ShubhamSharma-sb7qq Před 7 měsíci

    vwet nice very helpful

  • @hiteshkhandar6087
    @hiteshkhandar6087 Před 11 měsíci +2

    Really, Your teaching style is very awesome
    Can you make a video for elastic fuzzy search in Laravel 10
    Thank you.👍

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

      Will try

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

      czcams.com/video/W8tHRZ7ryTU/video.htmlsi=NLXmbtAls2fIyqBL

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

    Awesome one. I was waiting for this topic.

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

      Hope you enjoyed it!

    • @brighness_of_islam
      @brighness_of_islam Před 15 dny

      @@ajay-yadav Hello sir, i am struggle in my live server, getting error while create and destroy tenant. how can i solve it? could you please...

  • @BillingSoftwaredatahouse

    Sir agar shard server my sub domain allow n kare tab tenancy kaise banay

  • @veersongflix
    @veersongflix Před 2 měsíci

    Hi Ajay, When i am using this package on live server its not creating seperate database automatically for seperate tenants. Any suggestion? Thanks

  • @imthecodeholic
    @imthecodeholic Před měsícem

    Great!
    Unable to create domain with this in laravel11 sail

  • @codelaravel
    @codelaravel Před 5 měsíci

    which one we should api sanctum or passport in laravel multi tenancy ?

  • @waqassharif5297
    @waqassharif5297 Před 2 měsíci

    Sir is there any boilerplate you have created using multi-tenancy?

  • @nozixco
    @nozixco Před 4 měsíci

    Hello. Congratulations on the content! How do I redirect certain subdomains to a different host?

  • @saifulislamwebdeveloper3555
    @saifulislamwebdeveloper3555 Před 5 měsíci

    Thanks, Sir This video is very helpful

  • @shadyarbzharothman8689
    @shadyarbzharothman8689 Před 4 měsíci

    Is it normal to add my custom event to tenancy provider?
    Because I have a case that When a tenant updated I need to update the user detail from their DB and I add the job in TenantUpdated event but it does'nt work coz while databasecreation when a tenant added somehow it trigger TenantUpdated and it mess everything
    So I wonder can I add an event to it and just trigger this event in my controller? or if you know there's a better way to do that?

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

    how to deal with separate folders to files like images, and create link to use them?

  • @samad1230
    @samad1230 Před 7 měsíci

    Nice 💯

  • @maycolcastro3861
    @maycolcastro3861 Před 5 měsíci

    friend help me please :( .. I already finished this complete tutorial with part #2 which added an extra where each tenant can create a list of products with their image and all the details of a product. but my crazy idea is to be able to consume that product list through an API but taking into account the tenant, I don't know if I understand, what I want is for each tenant to have their own API for that list of products that they have created so that they can consume it from reactjs without having to log in I only consume the list of products but I have not been able to achieve this. Can you help me or give me an example of how I can achieve that? Can you please help me?

  • @user-gh6vq4wr1m
    @user-gh6vq4wr1m Před 3 měsíci

    Can i run without subdomain. if it is possible please make a sort video for this. Please 🙏

  • @deekshachaturvedi1004
    @deekshachaturvedi1004 Před 4 měsíci

    Can you create for me
    I will pay
    Not from the scratch
    With Saas boilerplate

  • @perfectwebsitesolutions4352
    @perfectwebsitesolutions4352 Před 11 měsíci +1

    Waiting for next video

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

      czcams.com/video/W8tHRZ7ryTU/video.htmlsi=NLXmbtAls2fIyqBL

  • @MANINDER-739
    @MANINDER-739 Před 11 měsíci +3

    Paar lagegi sabki naiya, aa gaye hai ajay bhiya..

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

      😂, oh my God, thank you brother

    • @vajarbhautik4953
      @vajarbhautik4953 Před 2 měsíci

      ​@@ajay-yadav this project in available in git hub

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

    Amazing tutorial............ make one more for pricing & payment integration

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

      czcams.com/video/W8tHRZ7ryTU/video.htmlsi=NLXmbtAls2fIyqBL

    • @deekshachaturvedi1004
      @deekshachaturvedi1004 Před 4 měsíci +1

      If you are Indian
      Then you have to go for custom payment modules integrated internally for admin and tenents

  • @user-cq2dg9ej3n
    @user-cq2dg9ej3n Před 8 měsíci

    Sir ap mery best teacher han❤

  • @mohammadnaim9226
    @mohammadnaim9226 Před 23 dny

    great explain brother

  • @Safarnamacafe
    @Safarnamacafe Před 5 měsíci

    Ajay bhai ... production server pe mutitenancy ka project deploy krne ke bad kya kya change krna padegaa.... subdomain server pe kaise work krenge kya hme dns configuration krni padegi subdomain ke liye ..ya phir tenancy package handle kr lega use ...plz bataye

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

    Sir good knowledge on this topic kindly explain how to add tenent espcific logo

  • @user-rw1vs8dq6k
    @user-rw1vs8dq6k Před 9 měsíci

    Hello friend, thank you very much for the tutorial, it is an incredible topic!! Can you help me, can you add subtitles to the multi-tenancy videos on both sides, please, thank you very much!

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

    Cual aplicacion haras?

  • @hardeepsingh-ck3iw
    @hardeepsingh-ck3iw Před 11 měsíci

    great sir ji
    other than this I have a question, sometimes we need a subquery to optimize a query. Can we handle this in the relations model?

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

      yes hardeep we can

    • @hardeepsingh-ck3iw
      @hardeepsingh-ck3iw Před 11 měsíci

      @@ajay-yadav thanks 😊 for reply,in future if you have a time please make a video on this topic

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

      czcams.com/video/W8tHRZ7ryTU/video.htmlsi=NLXmbtAls2fIyqBL

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

    Hello sir can you please make this video with laravel ui

  • @user-rw1vs8dq6k
    @user-rw1vs8dq6k Před 5 měsíci

    Hi, friend! excellent course, thank you very much for sharing this knowledge! Do you think you can help me deploy this application in Digital ocean? thank you so much.

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

    Please stripe ACH direct payment help

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

    Sir,
    I have a problem with subdomain css and js files are not accessed.

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

      czcams.com/video/W8tHRZ7ryTU/video.htmlsi=NLXmbtAls2fIyqBL

  • @deekshachaturvedi1004
    @deekshachaturvedi1004 Před 4 měsíci

    I am grate ful to saw vedio posted by indians
    Still lacking but fine
    Need of hour

  • @narender-dev
    @narender-dev Před 4 měsíci

    sir Laravel Multi-Tenancy with multiple customizable frontend pr video banao na

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

    Livewire configuration tutorial?

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

    @ajay yadav
    What if we want auth ui in this

  • @RohitSingh-ml2bz
    @RohitSingh-ml2bz Před 11 měsíci

    Sir Multi tenancy ki next video kab tak post karoge? We are waiting. 🙏🏻

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

      Rohit bhai, tomorrow 11am 😊

  • @narend
    @narend Před 5 měsíci

    Sir ek school management system banao using multi tenancy

  • @codelaravel
    @codelaravel Před 3 měsíci +1

    protected function mapApiRoutes()
    {
    foreach ($this->centralDomains() as $domain) {
    Route::prefix('api')
    ->domain($domain)
    ->middleware('api')
    ->namespace($this->namespace)
    ->group(base_path('routes/api.php'));
    }
    }
    protected function centralDomains(): array
    {
    return config('tenancy.central_domains');
    }
    Call these methods manually from your RouteServiceProvider's boot() method, instead of the $this->routes() calls. How we can add in laravel 11

  • @larafluttery
    @larafluttery Před 2 měsíci

    Kindly enable English captions for the deaf like myself to read. Thanks :)

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

    kindly share the repo you are discussing in your tutorial

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

      czcams.com/video/W8tHRZ7ryTU/video.htmlsi=NLXmbtAls2fIyqBL

  • @technicalpointsolutionbesm344
    @technicalpointsolutionbesm344 Před 10 měsíci

    Sir please provide video for deploy on live server multi tenant app laravel

  • @user-rw1vs8dq6k
    @user-rw1vs8dq6k Před 9 měsíci

    please you have code?

  • @ShahzaibKhan-wh5hh
    @ShahzaibKhan-wh5hh Před 11 měsíci

    laravel me php oop k 4 pliars bi bta den

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

      czcams.com/video/W8tHRZ7ryTU/video.htmlsi=NLXmbtAls2fIyqBL

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

    could you please share this project git repo

  • @swamybittu9628
    @swamybittu9628 Před 10 měsíci

    please can you make this in english

  • @narend
    @narend Před 5 měsíci

    Sir source code to de diya karo

  • @Laravel_Tree
    @Laravel_Tree Před 7 měsíci +1

    Hi ! I have applied this package properly also the tenancy running on my local machine but when I deploy the code on live and
    create a new tenant then no running project on the new domain on live server. Did you know about this ??

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

    Hi ! I have applied this package properly also the tenancy running on my local machine but when I deploy the code on live and
    create a new tenant then no running project on the new domain on live server. Did you know about this ??