Тёмный

Creating a landlord application to manage our tenants (with Laravel and Filament Admin) 

Kompute’s Edge
Подписаться 1,1 тыс.
Просмотров 15 тыс.
50% 1

Part 2 of the Laravel Multi-tenancy
Today I'm creating a landlord application to manage all of my tenants. I'm using Filament PHP to create an Admin interface. I'll setup all associated resources and actions in Filament. Watch and come along for the ride as we build the multi-tenant landlord application.
00:00 - Intro
00:25 - What we are building
00:58 - Getting started with Filament
02:01 - Filament is up an running
02:43 - Using Filament Resources to manage the Tenant model
03:03 - Creating our first Resource
04:49 - Adding table fields to Index views
07:41 - Creating a new Tenant via our manager app
08:28 - Associating domains to the Tenant
09:52 - Testing our action
11:46 - Adding relationship resources for HasMany relationships
13:48 - Wrapping up
Watch Part 1: • Adding multi tenancy t...
#laravel #multitenancy #tenancy #filamentphp

Наука

Опубликовано:

 

1 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 42   
@hiz5380
@hiz5380 2 года назад
Thank you for the tutorial. That Ray package is looks awesome.
@kedotdev
@kedotdev 2 года назад
Ray is pretty cool. Have you tried it yet?
@shashikantmarskole
@shashikantmarskole 2 года назад
Thank you for the Tutorial , Mike
@rafalmo6777
@rafalmo6777 2 года назад
Very great Tutorial, I hope you will release more.
@kedotdev
@kedotdev 2 года назад
Thank you. What topics interest you?
@AriusTigger
@AriusTigger Год назад
Thanks for making the video, I enjoy it, also makes make me fill curiosity about filament thus I work with nova but this runs with vuejs so... I feel that I don't want to mess to much with javascript
@pedros.s.7045
@pedros.s.7045 2 года назад
Good job
@kedotdev
@kedotdev 2 года назад
Thank you
@oscarcontreras7848
@oscarcontreras7848 Год назад
Hi, Thank for the video. I could not be able to understand at the end if it were a Multi-Database Tenant o single Database tenant?
@FsdYT
@FsdYT 6 месяцев назад
No new video for this part? with tenants having their own filament dashboard? or is it just for the admin to manage tenants using filament?
@NickEscobedo
@NickEscobedo Год назад
What screen recording software are you using? Great tutorial, greatly appreciated!
@JamesAutoDude
@JamesAutoDude 10 месяцев назад
Filament 3 now has multi tenancy, this new version may work great for this! I'm creating a similar thing now in v3.0 :)
@Sop7anaAllah
@Sop7anaAllah 2 года назад
Thank you Mike for the great tut Can you please increase your font size during video recording to make it easier to read for us who wear glasses 🤓 And I have a question : how to create sub-domains dynamically from laravel in cPanel? I want to create database and sub-domain on tenant registration automatically.
@kedotdev
@kedotdev 2 года назад
Hi Mohammad, thanks for the feedback. I'll definitely pump up my fonts for you. Subdomains in cPanel can be a little tricky because cPanel uses virtual hosts. A virtual host is an Apache (web server) directive that keeps the users, permissions, directories all separate from other users on the server. I haven't tried this method, but this might work: www.namecheap.com/support/knowledgebase/article.aspx/9191/29/how-to-create-a-wildcard-subdomain-in-cpanel/#:~:text=Wildcard%20subdomain%20allows%20you%20to,set%20for%20the%20wildcard%20subdomain. Even though I've never tried handsfree subdomains in cPanel, I do have quite a bit of experience w/ CentOs, WHM, and cPanel. The article above seems to describe what you are looking for. The only difference I would make is attempting to configure the DNS outside of cPanel (as my DNS is generally hosted on a separate server). If I get some free time next week, I would love to make another video attempting to setup cPanel to support wildcard sub domains!
@zen_code
@zen_code 2 года назад
@@kedotdev This would be good, Mike. It would be great if the users can register by themselves and got the subdomain and database automatically added for each user. Q: With this setup, can we manage all the users data from the landlord side? E.g. Get the data of all the users from their db and manage it from our admin panel in the landlord side
@knowsar
@knowsar Год назад
How can we set this up with laravel nova for both landlord and tenants
@tomjerry-nx9dl
@tomjerry-nx9dl Год назад
i am confused on tencent with hasmany domain. shouldn;t it be tenant hasone domain?
@FindWebX
@FindWebX Год назад
Is this not working with laravel jetstream. I am getting a problem. If you can please upload a new video this package with laravel jeatstram. Thank you for sharing your knowledge with us sir
@relaxingstuff2648
@relaxingstuff2648 8 месяцев назад
How can we do multi-tenancy for Laravel API having SPA applications as the front end like Vue.js? both for domain and subdomain .
@chigozieikuru2563
@chigozieikuru2563 2 года назад
great tut💯 but quick question, at 1:33 you got an error after creating the filament admin user, "Route not defined", I'm getting the same error, how do I fix it?
@darlleybrito4198
@darlleybrito4198 2 года назад
up
@kedotdev
@kedotdev 2 года назад
How about running: php artisan optimize This fixes most route issues when a new route is defined.
@themescode
@themescode Год назад
0:44 which application did you use create the diagram ? Thanks
@nukious
@nukious Год назад
Lucidchart
@kedotdev
@kedotdev Год назад
That’s it!
@behappey8494
@behappey8494 2 года назад
how much cost i have project ecommerce website i want convert to multi-tenancy how much cost if i want this as service from you
@joseluisUnix
@joseluisUnix Год назад
Hola, tu me puedes decir que app utilizas para hacer un dibujo de tí, gracias
@kedotdev
@kedotdev Год назад
Lucid Charts 🚀
@joseluisUnix
@joseluisUnix Год назад
@@kedotdev no encuentro la opción para hacer un dibujo de mi rostro ?
@mohamadcheaib
@mohamadcheaib Год назад
How to customize the Dashboard
@kedotdev
@kedotdev Год назад
Using Filament? Check the docs!
@gabrielLlanesMX
@gabrielLlanesMX Год назад
How configure ngnix for multi tenant? local, debian
@kedotdev
@kedotdev Год назад
For a top level domain? You need to setup a wildcard domain. Checkout nginx.org/en/docs/http/server_names.html
@gabrielLlanesMX
@gabrielLlanesMX Год назад
@@kedotdev Thanks for answering, it is local for .test domains
@kedotdev
@kedotdev Год назад
Oh, you can use a local dns proxy. On my Mac, I use dnsmasq: gist.github.com/eloypnd/5efc3b590e7c738630fdcf0c10b68072
@gabrielLlanesMX
@gabrielLlanesMX Год назад
@@kedotdev Gracias, lo probaré, saludos!!
@imvolkankaban
@imvolkankaban 2 года назад
I have a couple of questions, how can I DM you?
@kedotdev
@kedotdev 2 года назад
Hi - feel free to ask them here or reach me @mi_ke_dev on Twitter.
@aurelianspodarec2629
@aurelianspodarec2629 2 года назад
I did the same thing as you, but failed when logging in. I have the latest PHP version as well. I got this error in the browser console. ``` Uncaught SyntaxError: Illegal return statement (at livewire.js?id=c69d0f2801c01fcf8166:13:148354) login:269 Uncaught ReferenceError: Livewire is not defined at login:269:27 (anonymous) @ login:269 app.js?id=f98decb96486da63f19555688c591382:8 Uncaught SyntaxError: Unexpected token '{' (at app.js?id=f98decb96486da63f19555688c591382:8:6) ``` All I did is install filament like you did. I can't figure this out. Do you know what the issue could be? I'm also on Windows, using apache and laragon.
@kedotdev
@kedotdev 2 года назад
Try npm run watch. See if it builds. You might need to run npm install first.
@aurelianspodarec2629
@aurelianspodarec2629 2 года назад
@@kedotdev Hey, thanks for trying to help. I figured out the issue was something was off with the vendor and composer file, so I deleted the vendor and put on laravel 9 composer file, and it worked ^^
Далее
Learnings from our multi-tenant Laravel application
9:58
Step-by-Step Guide to Filament Multi-Tenancy
17:39
Просмотров 7 тыс.
You should just choose Laravel
13:23
Просмотров 27 тыс.
WordPress - Serverless Deployment into AWS Lambda
34:11
The Hidden Cost Of GraphQL And NodeJS
28:35
Просмотров 184 тыс.
Laravel 11: Multi-Tenancy with Multiple Databases
8:23
7 Years of Software Engineering Advice in 18 Minutes
18:32
Filament Livestream: Pet Clinic Admin Panel - New Project
3:15:02
YOTAPHONE 2 - СПУСТЯ 10 ЛЕТ
15:13
Просмотров 147 тыс.