~/talk

Implementing multi-tenancy in a Laravel app

Talkat Forum PHP 2025 · 2025-10-09..10-10· [php, software-architecture]
slides:none on file

Demo of the open-source Laravel multi-tenency package shows a working multi-database setup where a landlord DB maps domains to tenant DBs and the app swaps the tenant connection at request time, queue jobs, and artisan commands. Uses Laravel, Ray, and Spatie-style tooling; migrations run across two tenant databases and jobs retain tenant context. The package adds tasks like switch tenant database and a helper command tenants artisan to run regular artisan commands per tenant.

AI-written summary · about

  1. 0:00Introduction
  2. 4:05What is multi-tenancy
  3. 7:21Demo setup and databases
  4. 13:25Queue jobs and tenant awareness
  5. 14:49Artisan commands for tenants
  6. 16:58Migrating tenant databases
  7. 19:07Package features summary
  8. 20:31Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.