~/talk

Multi-tenancy in Laravel

TalkinItalianat laravelday 2020 · on Thursday, 2020-11-26· [laravel, databases]
github:oniz93
slides:none on file

Demonstrates building a domain-based SaaS multi-tenant app in Laravel using the stancl/tenancy package: creating tenants via tinker, provisioning separate databases and domains, and running per-tenant migrations and artisan commands that migrate every tenant. Shows tenant-aware job execution (jobs carry tenant id and run against the tenant DB), tenant-specific logging, and domain-isolated registration/login to prove domain-based switching works.

AI-written summary · about

  1. 0:00Start
  2. 3:52What is multi-tenancy
  3. 5:12Examples of multi-tenant applications
  4. 6:15Features of a multi-tenant software
  5. 7:43Single database - Approach
  6. 8:39Single database - Disadvantages
  7. 12:04Multiple databases - Approach
  8. 12:28Multiple databases - Advantages
  9. 20:44Which approach to follow
  10. 24:03Quickstart Tutorial
~/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.