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)