Laravel Multi-Tenancy Tutorial | Implementing Multi-Tenancy in Laravel Applications |Part #1 | HINDI
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
Sir bhot hi mazedaar topic choose kiya h aapne. Next video ka intezaar rahega. Thanks a million. 🎉
Zabardast bhai bohat asani se apni samjhaya hia .. thankyou
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 .
Glad it was helpful!
Thank you for covering this topic.
My pleasure!
Great Explenation
Much awaiting tutorial 😊
Hope you like it!
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.
Great bhai. Lots of thanks from my side.
Thanks and welcome
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 ??
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
Good knowledge
Very helpful tutorial............ please create API for multi-tenancy
Really Appreciated ... Thanks
Most welcome!
vwet nice very helpful
Really, Your teaching style is very awesome
Can you make a video for elastic fuzzy search in Laravel 10
Thank you.👍
Will try
czcams.com/video/W8tHRZ7ryTU/video.htmlsi=NLXmbtAls2fIyqBL
Awesome one. I was waiting for this topic.
Hope you enjoyed it!
@@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...
Sir agar shard server my sub domain allow n kare tab tenancy kaise banay
Hi Ajay, When i am using this package on live server its not creating seperate database automatically for seperate tenants. Any suggestion? Thanks
Great!
Unable to create domain with this in laravel11 sail
which one we should api sanctum or passport in laravel multi tenancy ?
Sir is there any boilerplate you have created using multi-tenancy?
Hello. Congratulations on the content! How do I redirect certain subdomains to a different host?
Thanks, Sir This video is very helpful
So nice of you
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?
how to deal with separate folders to files like images, and create link to use them?
Nice 💯
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?
Can i run without subdomain. if it is possible please make a sort video for this. Please 🙏
Can you create for me
I will pay
Not from the scratch
With Saas boilerplate
Waiting for next video
czcams.com/video/W8tHRZ7ryTU/video.htmlsi=NLXmbtAls2fIyqBL
Paar lagegi sabki naiya, aa gaye hai ajay bhiya..
😂, oh my God, thank you brother
@@ajay-yadav this project in available in git hub
Amazing tutorial............ make one more for pricing & payment integration
czcams.com/video/W8tHRZ7ryTU/video.htmlsi=NLXmbtAls2fIyqBL
If you are Indian
Then you have to go for custom payment modules integrated internally for admin and tenents
Sir ap mery best teacher han❤
🤗 pleasure buddy
great explain brother
Glad you liked it
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
U need wildcard subdomain
+ Wild card ssl
To distribute subdomains
Sir good knowledge on this topic kindly explain how to add tenent espcific logo
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!
Cual aplicacion haras?
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?
yes hardeep we can
@@ajay-yadav thanks 😊 for reply,in future if you have a time please make a video on this topic
czcams.com/video/W8tHRZ7ryTU/video.htmlsi=NLXmbtAls2fIyqBL
Hello sir can you please make this video with laravel ui
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.
Go for readymade boilerplate
If you are serious
Please stripe ACH direct payment help
Sir,
I have a problem with subdomain css and js files are not accessed.
czcams.com/video/W8tHRZ7ryTU/video.htmlsi=NLXmbtAls2fIyqBL
I am grate ful to saw vedio posted by indians
Still lacking but fine
Need of hour
sir Laravel Multi-Tenancy with multiple customizable frontend pr video banao na
Livewire configuration tutorial?
@ajay yadav
What if we want auth ui in this
Need to apply laravel packages
Sir Multi tenancy ki next video kab tak post karoge? We are waiting. 🙏🏻
Rohit bhai, tomorrow 11am 😊
Sir ek school management system banao using multi tenancy
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
Kindly enable English captions for the deaf like myself to read. Thanks :)
kindly share the repo you are discussing in your tutorial
czcams.com/video/W8tHRZ7ryTU/video.htmlsi=NLXmbtAls2fIyqBL
Sir please provide video for deploy on live server multi tenant app laravel
You will need to edit .env
Need a cp
please you have code?
laravel me php oop k 4 pliars bi bta den
czcams.com/video/W8tHRZ7ryTU/video.htmlsi=NLXmbtAls2fIyqBL
could you please share this project git repo
Projects are already there on git
Slant tenancy
@@deekshachaturvedi1004please shar link for
please can you make this in english
Sir source code to de diya karo
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 ??
Hi, did you find the solution?
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 ??
Hello, same issue i am facing, resolve it?