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

  Рет қаралды 22,028

Ajay yadav

Ajay yadav

Күн бұрын

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/aja...
Please subscribe to my channel and share the video with your friends.
#laravel #ajayyadav #multitenancy #multitenant #saasapplication #buildmultitenant

Пікірлер: 102
@learnwithmauzzam
@learnwithmauzzam 8 ай бұрын
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.
@shuvoahmed5217
@shuvoahmed5217 5 ай бұрын
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 .
@ajay-yadav
@ajay-yadav 5 ай бұрын
Glad it was helpful!
@faizan101010
@faizan101010 Жыл бұрын
Zabardast bhai bohat asani se apni samjhaya hia .. thankyou
@RohitSingh-ml2bz
@RohitSingh-ml2bz Жыл бұрын
Sir bhot hi mazedaar topic choose kiya h aapne. Next video ka intezaar rahega. Thanks a million. 🎉
@nozixco
@nozixco 7 ай бұрын
Hello. Congratulations on the content! How do I redirect certain subdomains to a different host?
@pranavjoshi4011
@pranavjoshi4011 18 күн бұрын
i am using Laravel 11.24.1 i applied same code according to you but my button not working not going route('tenants.index') why it's happening
@bdsupershop4133
@bdsupershop4133 6 күн бұрын
Laravel 11 does not have RouteServicePrivider. Please coult you explain how to secure centralDomains in laravel 11?
@hiteshkhandar6087
@hiteshkhandar6087 Жыл бұрын
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 Жыл бұрын
Will try
@cwddc
@cwddc Жыл бұрын
kzbin.info/www/bejne/jWnXeYWQbNesircsi=NLXmbtAls2fIyqBL
@jai_codes
@jai_codes 18 күн бұрын
Great Explaination
@veersongflix
@veersongflix 5 ай бұрын
Hi Ajay, When i am using this package on live server its not creating seperate database automatically for seperate tenants. Any suggestion? Thanks
@MANINDER-739
@MANINDER-739 Жыл бұрын
Paar lagegi sabki naiya, aa gaye hai ajay bhiya..
@ajay-yadav
@ajay-yadav Жыл бұрын
😂, oh my God, thank you brother
@vajarbhautik4953
@vajarbhautik4953 5 ай бұрын
​@@ajay-yadav this project in available in git hub
@RamakrishnaPR
@RamakrishnaPR Ай бұрын
​@@ajay-yadavthank you for sharing video
@waqassharif5297
@waqassharif5297 5 ай бұрын
Sir is there any boilerplate you have created using multi-tenancy?
@BillingSoftwaredatahouse
@BillingSoftwaredatahouse 6 ай бұрын
Sir good knowledge on this topic kindly explain how to add tenent espcific logo
@Laravel_Tree
@Laravel_Tree 9 ай бұрын
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 ??
@brighness_of_islam
@brighness_of_islam 3 ай бұрын
Hi, did you find the solution?
@AhsanKhan89
@AhsanKhan89 16 күн бұрын
Bro micro services pr video banao. Thanks
@ajay-yadav
@ajay-yadav 15 күн бұрын
We will try
@imthecodeholic
@imthecodeholic 4 ай бұрын
Great! Unable to create domain with this in laravel11 sail
@Safarnamacafe
@Safarnamacafe 8 ай бұрын
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
@deekshachaturvedi1004
@deekshachaturvedi1004 7 ай бұрын
U need wildcard subdomain + Wild card ssl To distribute subdomains
@josesalcedo7275
@josesalcedo7275 Жыл бұрын
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
@shadyarbzharothman8689
@shadyarbzharothman8689 6 ай бұрын
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?
@StevenOrtiz-g5r
@StevenOrtiz-g5r 8 ай бұрын
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.
@deekshachaturvedi1004
@deekshachaturvedi1004 7 ай бұрын
Go for readymade boilerplate If you are serious
@codelaravel
@codelaravel 8 ай бұрын
which one we should api sanctum or passport in laravel multi tenancy ?
@BillingSoftwaredatahouse
@BillingSoftwaredatahouse 3 ай бұрын
Sir agar shard server my sub domain allow n kare tab tenancy kaise banay
@HimanshuJangir-r7r
@HimanshuJangir-r7r 5 ай бұрын
Can i run without subdomain. if it is possible please make a sort video for this. Please 🙏
@amirfaraz8863
@amirfaraz8863 Жыл бұрын
Very helpful tutorial............ please create API for multi-tenancy
@HassanRaza-i3w7z
@HassanRaza-i3w7z 11 ай бұрын
Sir ap mery best teacher han❤
@ajay-yadav
@ajay-yadav 11 ай бұрын
🤗 pleasure buddy
@viksjangid7751
@viksjangid7751 5 ай бұрын
Hello sir can you please make this video with laravel ui
@hardeepsingh-ck3iw
@hardeepsingh-ck3iw Жыл бұрын
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 Жыл бұрын
yes hardeep we can
@hardeepsingh-ck3iw
@hardeepsingh-ck3iw Жыл бұрын
@@ajay-yadav thanks 😊 for reply,in future if you have a time please make a video on this topic
@cwddc
@cwddc Жыл бұрын
kzbin.info/www/bejne/jWnXeYWQbNesircsi=NLXmbtAls2fIyqBL
@maycolcastro3861
@maycolcastro3861 8 ай бұрын
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?
@fives1148
@fives1148 Ай бұрын
Single db ka krna ho tu kese krte hn bruh plz guide
@jolivarjunior6083
@jolivarjunior6083 9 ай бұрын
how to deal with separate folders to files like images, and create link to use them?
@deepkeshchoubey4682
@deepkeshchoubey4682 Жыл бұрын
Great bhai. Lots of thanks from my side.
@ajay-yadav
@ajay-yadav Жыл бұрын
Thanks and welcome
@bugszone6098
@bugszone6098 Жыл бұрын
Great Explenation
@perfectwebsitesolutions4352
@perfectwebsitesolutions4352 Жыл бұрын
Waiting for next video
@cwddc
@cwddc Жыл бұрын
kzbin.info/www/bejne/jWnXeYWQbNesircsi=NLXmbtAls2fIyqBL
@saifulislamwebdeveloper3555
@saifulislamwebdeveloper3555 7 ай бұрын
Thanks, Sir This video is very helpful
@ajay-yadav
@ajay-yadav 7 ай бұрын
So nice of you
@NicolasEzequielAlmonacid
@NicolasEzequielAlmonacid 5 ай бұрын
Livewire configuration tutorial?
@deekshachaturvedi1004
@deekshachaturvedi1004 7 ай бұрын
I am grate ful to saw vedio posted by indians Still lacking but fine Need of hour
@narender-dev
@narender-dev 7 ай бұрын
sir Laravel Multi-Tenancy with multiple customizable frontend pr video banao na
@narend
@narend 7 ай бұрын
Sir ek school management system banao using multi tenancy
@ShubhamSharma-sb7qq
@ShubhamSharma-sb7qq 9 ай бұрын
vwet nice very helpful
@samad1230
@samad1230 10 ай бұрын
Nice 💯
@mohammadnaim9226
@mohammadnaim9226 3 ай бұрын
great explain brother
@ajay-yadav
@ajay-yadav 3 ай бұрын
Glad you liked it
@RohitSingh-ml2bz
@RohitSingh-ml2bz Жыл бұрын
Sir Multi tenancy ki next video kab tak post karoge? We are waiting. 🙏🏻
@ajay-yadav
@ajay-yadav Жыл бұрын
Rohit bhai, tomorrow 11am 😊
@larafluttery
@larafluttery 5 ай бұрын
Kindly enable English captions for the deaf like myself to read. Thanks :)
@deekshachaturvedi1004
@deekshachaturvedi1004 7 ай бұрын
Can you create for me I will pay Not from the scratch With Saas boilerplate
@muhammadirfan8623
@muhammadirfan8623 Жыл бұрын
Really Appreciated ... Thanks
@ajay-yadav
@ajay-yadav Жыл бұрын
Most welcome!
@StevenOrtiz-g5r
@StevenOrtiz-g5r Жыл бұрын
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!
@dharmikpatel2482
@dharmikpatel2482 Жыл бұрын
Amazing tutorial............ make one more for pricing & payment integration
@cwddc
@cwddc Жыл бұрын
kzbin.info/www/bejne/jWnXeYWQbNesircsi=NLXmbtAls2fIyqBL
@deekshachaturvedi1004
@deekshachaturvedi1004 7 ай бұрын
If you are Indian Then you have to go for custom payment modules integrated internally for admin and tenents
@beticohernandez8039
@beticohernandez8039 Жыл бұрын
Cual aplicacion haras?
@ansh9d
@ansh9d Жыл бұрын
Good knowledge
@CodeWithAbirOfficial
@CodeWithAbirOfficial Жыл бұрын
Awesome one. I was waiting for this topic.
@ajay-yadav
@ajay-yadav Жыл бұрын
Hope you enjoyed it!
@brighness_of_islam
@brighness_of_islam 3 ай бұрын
@@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...
@amirfaraz8863
@amirfaraz8863 Жыл бұрын
Sir, I have a problem with subdomain css and js files are not accessed.
@cwddc
@cwddc Жыл бұрын
kzbin.info/www/bejne/jWnXeYWQbNesircsi=NLXmbtAls2fIyqBL
@asfiaaiman3699
@asfiaaiman3699 Жыл бұрын
Much awaiting tutorial 😊
@ajay-yadav
@ajay-yadav Жыл бұрын
Hope you like it!
@technicalpointsolutionbesm344
@technicalpointsolutionbesm344 Жыл бұрын
Sir please provide video for deploy on live server multi tenant app laravel
@deekshachaturvedi1004
@deekshachaturvedi1004 7 ай бұрын
You will need to edit .env Need a cp
@codelaravel
@codelaravel 5 ай бұрын
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
@daniels7250
@daniels7250 Ай бұрын
is this the solution for laravel 11 version? There is no RouteServiceProvider.php in laravel 11 but app.php. How to do it?
@subhajitghorai8835
@subhajitghorai8835 Жыл бұрын
Please stripe ACH direct payment help
@pradeepmalviya6742
@pradeepmalviya6742 Жыл бұрын
@ajay yadav What if we want auth ui in this
@deekshachaturvedi1004
@deekshachaturvedi1004 7 ай бұрын
Need to apply laravel packages
@ShahzaibKhan-wh5hh
@ShahzaibKhan-wh5hh Жыл бұрын
laravel me php oop k 4 pliars bi bta den
@cwddc
@cwddc Жыл бұрын
kzbin.info/www/bejne/jWnXeYWQbNesircsi=NLXmbtAls2fIyqBL
@hassamulhaq7762
@hassamulhaq7762 Жыл бұрын
Thank you for covering this topic.
@ajay-yadav
@ajay-yadav Жыл бұрын
My pleasure!
@Ehsankhan0577
@Ehsankhan0577 Жыл бұрын
kindly share the repo you are discussing in your tutorial
@cwddc
@cwddc Жыл бұрын
kzbin.info/www/bejne/jWnXeYWQbNesircsi=NLXmbtAls2fIyqBL
@biswajitpradhan9115
@biswajitpradhan9115 8 ай бұрын
could you please share this project git repo
@deekshachaturvedi1004
@deekshachaturvedi1004 7 ай бұрын
Projects are already there on git Slant tenancy
@vajarbhautik4953
@vajarbhautik4953 5 ай бұрын
​@@deekshachaturvedi1004please shar link for
@StevenOrtiz-g5r
@StevenOrtiz-g5r Жыл бұрын
please you have code?
@ashifahamed4755
@ashifahamed4755 22 күн бұрын
Vai apka mic 🎤 thik koro, har video apka awaj fat ta hai
@narend
@narend 7 ай бұрын
Sir source code to de diya karo
@swamybittu9628
@swamybittu9628 Жыл бұрын
please can you make this in english
@Laravel_Tree
@Laravel_Tree 9 ай бұрын
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 ??
@thinkingtalks
@thinkingtalks 10 күн бұрын
config the domain in your local computer
@fireprogrammer55
@fireprogrammer55 10 ай бұрын
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 ??
@brighness_of_islam
@brighness_of_islam 3 ай бұрын
Hello, same issue i am facing, resolve it?
The selfish The Joker was taught a lesson by Officer Rabbit. #funny #supersiblings
00:12
Funny superhero siblings
Рет қаралды 11 МЛН
REAL 3D brush can draw grass Life Hack #shorts #lifehacks
00:42
MrMaximus
Рет қаралды 5 МЛН
Adding multi tenancy to an existing Laravel web application
21:45
Kompute’s Edge
Рет қаралды 28 М.
Advanced Laravel: Service Container & Providers (Primitives)
6:06
Jordan Dalton
Рет қаралды 4,7 М.
Multi-tenancy in Laravel
1:24:05
JustSteveKing
Рет қаралды 6 М.
Multitenancy in Laravel: Migrations, Testing, and switching tenants
12:02
Multi-tenant Architecture for SaaS
11:07
CodeOpinion
Рет қаралды 117 М.
Laravel 11: Multi-Tenancy with Multiple Databases
8:23
Laravel Daily
Рет қаралды 19 М.