NEW in Filament 3: Multi-Tenancy

  Рет қаралды 18,180

Laravel Daily

Laravel Daily

Күн бұрын

Пікірлер: 43
@Claudio_Pereira
@Claudio_Pereira Жыл бұрын
Wow, excellent explanation! Thank you very much for addressing this topic which, as you said, is very broad. By the way, congratulations on the Filament v3 course. Since you said you should go deeper, I would suggest, if possible, that you explain how we would use uuid to identify the tenant instead of the usual id. 😊
@michabbb
@michabbb Жыл бұрын
As always, very well explained 👍
@realanmup
@realanmup Жыл бұрын
multi-tenancy is a big term and i am loving this new filament. got anyways to quickly migrate to filament from nova. i am still stuck with nova 3
@LaravelDaily
@LaravelDaily Жыл бұрын
There's no "quickly migrate" unfortunately :)
@carlosescobar5995
@carlosescobar5995 Жыл бұрын
For those who don't write models in English, remember to implement the HasName interface in the Tenant model, in this example in the Company model, example in Spanish we say nombre, so hope it helps someone.
@axect
@axect 4 күн бұрын
hello, I hope it will be answered. I want to change the logo in the selected place on the left, how do I change it? The first letter of the name comes by default, I want to change it
@jailsoncarneiro4936
@jailsoncarneiro4936 Жыл бұрын
Thank You Teacher!
@ryiad2010
@ryiad2010 2 ай бұрын
thanks you sir ,it's helpful
@christmex4540
@christmex4540 Жыл бұрын
Thank you for the brilliant explanation 👍. Just to clarify, should I include user_id or company_id in every table to filter records by user or company? 🤔
@LaravelDaily
@LaravelDaily Жыл бұрын
Yes
@DeTechDivus
@DeTechDivus Жыл бұрын
How would you handle subdomains/domains in this without additional tenancy packages?
@LaravelDaily
@LaravelDaily Жыл бұрын
Currently Filament doesn't support subdomains or domains as tenants, from what I understand.
@MarvelDwi-w5v
@MarvelDwi-w5v Жыл бұрын
Hello professor, how to make a widget that displays different data in multi tenancy, please help. Thank You I hope you reply to this message
@MarvelDwi-w5v
@MarvelDwi-w5v Жыл бұрын
Please help, how to call widgets based on data in multi tenancy
@LaravelDaily
@LaravelDaily Жыл бұрын
Please ask that on the official discord of Filament, I'm on vacation at the moment
@wakathepublic
@wakathepublic Жыл бұрын
Can i ask a question? How to make colspan in fillament? Can i get the tutor?
@sabinmagar4152
@sabinmagar4152 Жыл бұрын
Hello, I'm making a multi tenancy project that includes the user and province tables of the pivot table was province_user when I created a user province_user doesn't have a newly created user record i.e user_id and. province_id. How to do that? I mean users created but not linked with the province in the province_user table in your case company_user how this table has newly created userid with companyid value.
@LaravelDaily
@LaravelDaily Жыл бұрын
I guess you need to read this section of the docs about multi-tenancy: filamentphp.com/docs/3.x/panels/tenancy#adding-a-tenant-registration-page
@sabinmagar4152
@sabinmagar4152 Жыл бұрын
i am working with a team and user and i have made a team_user table when the user was created by admin the pivot table can't get new records it will only create a new record in the users table but we need the users table as well as the pivot table. How to fix
@LaravelDaily
@LaravelDaily Жыл бұрын
Sorry I can't debug or write this custom code for you, it's an individual question that is impossible to answer in a comment.
@TimSpharaoh
@TimSpharaoh 6 ай бұрын
Take a look at the attach action, you can add form values. For example, I added phone numbers in the pivot for a support team, so support team can serve multiple clients. When attached to a client a custom number is added to pivot. That may be more advanced than you need but I think the concept is there. In the model withPivot and add a form with attach, and if needed custom logic with attachAction
@YuMinChitThu
@YuMinChitThu Жыл бұрын
Hello Instructor, How to implement domain or sub domain in filament mutli tenancy?
@LaravelDaily
@LaravelDaily Жыл бұрын
From what I've read in the docs, they don't have that feature at the moment
@YuMinChitThu
@YuMinChitThu Жыл бұрын
@@LaravelDaily So,What other ways can I do to integrate with the domain?
@LaravelDaily
@LaravelDaily Жыл бұрын
Don't use Filament multi-tenancy, built your own tenancy or use some other package like archtechx/tenancy
@duniamanji23
@duniamanji23 Жыл бұрын
Hello sir, I want to ask, an easy way to change the default navigation such as DASHBOARD. For example, dashboard text changes to monitoring
@LaravelDaily
@LaravelDaily Жыл бұрын
We have this article about it: "Filament: Disable Dashboard and Auto-Redirect to URL After Login" laraveldaily.com/post/filament-disable-dashboard-auto-redirect-url-after-login
@rmitesh32
@rmitesh32 Жыл бұрын
Thanks for the explanation, Cheers 🥂 One question: can we remove company ID from the URL for the current tenant and do configurations from the code?
@LaravelDaily
@LaravelDaily Жыл бұрын
I don't think so, at the moment, at least I haven't seen it in the docs. How else would you decide the tenant if not from URL? Session?
@rmitesh32
@rmitesh32 Жыл бұрын
@@LaravelDaily Yes, does we can use Spatie's roles and permissions Team feature concept? setPermissionsTeamId() ?
@LaravelDaily
@LaravelDaily Жыл бұрын
I don't think it's possible, but you can ask on the discord or make a pull request with your suggestions
@networkerdesign6147
@networkerdesign6147 Жыл бұрын
@@rmitesh32 I implemented the spatie permission package with it. In every panel, you need to add the middleware. Just define your roles and permissions. Then apply the way you add the middleware to route or controller
@rishharris8808
@rishharris8808 Жыл бұрын
How could I create a settingspage with tabs?
@LaravelDaily
@LaravelDaily Жыл бұрын
A topic for a separate video one day, not something I can answer in a short comment
@ivanvalera7923
@ivanvalera7923 Жыл бұрын
Excellent video, but speaking of how to do this type of thing correctly, is multi-tenancy really better than having separate databases per company? It is okay to have all the records of different companies in the same database and in the same tables?
@LaravelDaily
@LaravelDaily Жыл бұрын
There's no "better", that's what I meant in the video that different people choose different tenancy. Separate databases make sense if you have legal requirements for this, or individual changes for companies. But for managing code and doing data migrations, separate databases is a nightmare.
@MikdanJey
@MikdanJey Жыл бұрын
Welcome to Filament PHP
@ArislanHaikal
@ArislanHaikal Жыл бұрын
Why people love filament? I don't like filament, because it's too slow. Any suggestion to speed up this? 😢
@flutterquickdemo2468
@flutterquickdemo2468 Жыл бұрын
disable debugbar views if added. Not sure why it is slow.
@LaravelDaily
@LaravelDaily Жыл бұрын
What exactly is slow? Which functions? How do you measure slow? And yes, are you using debugbar, as the other comment says?
@ArislanHaikal
@ArislanHaikal Жыл бұрын
@@LaravelDaily I use fresh installation laravel with filament 3. I following step by step getting started in filament docs with make CRUD function. I feel laggy, difference between basic function CRUD laravel. But i dont know, maybe my laptop is so bad 🫣
Жыл бұрын
@@ArislanHaikal I use fresh installation on mac m1 pro... with database in docker. Everything is good.
NEW in Filament 3: Table Builder Summaries with Grouping
3:26
Laravel Daily
Рет қаралды 7 М.
Step-by-Step Guide to Filament Multi-Tenancy
17:39
Tuto1902
Рет қаралды 12 М.
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
What Senior Devs ACTUALLY Do? (And how to become one)
7:12
Laravel Daily
Рет қаралды 3,6 М.
Laravel Security: Top 7 Mistakes Developers Make
11:16
Laravel Daily
Рет қаралды 88 М.
Master Local AI with DeepSeek-R1 In 10 Minutes
9:23
Jacob Geiger
Рет қаралды 6 М.
16 Laravel Filament Multi-Tenancy - FilamentPHP V3 Tutorial
23:53
What Else is New in Filament 3: Actions, Themes and Upgrade Tool
8:12
Shadcn/ui but for Laravel
15:53
Josh Cirre
Рет қаралды 14 М.
AI is Taking JUNIOR Dev Jobs: What To Do?
8:06
Laravel Daily
Рет қаралды 3,8 М.
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН