DEV Community

pro code
pro code

Posted on

Building a SaaS app with Laravel, FilamentPHP, and Multi-DB Tenancy

Package Version
V3 - V4

Hi everyone ๐Ÿ‘‹,

Iโ€™m planning to build a SaaS application using:

Laravel (backend framework)

FilamentPHP (for the admin/dashboard panel)

Tenancy for Laravel (https://tenancyforlaravel.com/)

I want to set up multi-database tenancy (each tenant has its own database), but Iโ€™m not sure about the best way to:

Integrate FilamentPHP with a multi-DB tenant setup.

Manage tenant dashboards (separate panels or shared panel with tenant isolation).

Structure a small demo/reference SaaS website as a starting point.

If anyone has:

Example projects or documentation

Boilerplates/demos

Best practices for Laravel + Filament + multi-DB tenancy

โ€ฆIโ€™d love your suggestions or references ๐Ÿ™

Thanks in advance! ๐Ÿš€

Top comments (0)