Multi-Tenancy in Filament 3: Practical Demo

Multi-Tenancy in Filament 3: Practical Demo

Laravel Daily

1 месяц назад

5,178 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@7error8lade
@7error8lade - 30.04.2025 08:07

This appears to be a same database multi-tenancy. Honestly I find it overkill for Filament to touch on multi-tenancy and in my view should let a multi-tenancy package like spatie handles it.

Ответить
@abdulrehman-web-dev
@abdulrehman-web-dev - 30.04.2025 09:12

Please make a video on multi-tenancy + filament shield

Ответить
@ricko13
@ricko13 - 30.04.2025 10:07

what up with the filament daily channel?

Ответить
@map74
@map74 - 30.04.2025 10:55

Do you have or can suggest some FIlament Tenancy users and permissions management package?

Ответить
@zoli8588
@zoli8588 - 30.04.2025 11:14

foreignId vs foreignIdFor what would u prefer? my opinion "For" version better bec add more sustainable code like enums. (And class is clickable what is Huge adv.)

Ответить
@maufunction
@maufunction - 30.04.2025 13:15

This applycompanyscopes middleware doesnt work if you use the DB facade, like DB::table for a widget query for example

Ответить
@PabloZagni
@PabloZagni - 30.04.2025 16:49

I love the way you explain things.. you're so clear... Awesome.

Ответить
@nim_a123
@nim_a123 - 30.04.2025 18:51

You choose filament or flux 🤔

Ответить
@fadhil._7275
@fadhil._7275 - 30.04.2025 21:48

that's great,Very Helpful!.

Ответить
@GergelyCsermely
@GergelyCsermely - 30.04.2025 22:28

Thanks

Ответить
@manu144x
@manu144x - 01.05.2025 13:09

I think this is the laziest way to do multi-tenancy. I've never liked this single-database concept. It's very, very risky.

At least multiple-databases, and for more advanced scenario, go to containers or more separation, of course, depends on use case and everything else.

Ответить
@CahyoBagus
@CahyoBagus - 01.05.2025 15:06

Can i use tenancy multiple db with modules? Especially to run the migration for tenant x and module y

Ответить
@bboydarknesz
@bboydarknesz - 01.05.2025 18:42

Since I am only focusing on Backend, provide API.

How to apply that middleware if not using filament? I can't apply it globally for Model since the Model can be access from Admin too.

Ответить
@getupkid84
@getupkid84 - 01.05.2025 18:50

Could add the model global scope to an abstract layer, yeah?

Ответить
@letscode6022
@letscode6022 - 03.05.2025 06:23

can it be used for, multi branches instead of companies? Or there is another tweak to it? @LaravelDaily

Ответить
@SparkLing-k8y
@SparkLing-k8y - 20.05.2025 16:35

Thanks for the awesome video! I also watched the “Multiple Panels in Filament 3” one. Quick question: If we’re building multiple panels—one for central admin to manage tenants (like registering or deleting them) and another for tenant admins to manage their own models—do we need to turn on “teams” in Spatie roles/permissions, in addition to setting up “multi-tenancy” in Filament?

Ответить