Skip to content

Writing

Long, practical guides on Laravel, Filament and Livewire, written from the products I build. 19 so far.

Filament 4 Multi-Tenancy: The Setup, and Where It Leaks

How Filament 4's built-in panel tenancy works (HasTenants, canAccessTenant, ownership relationships, tenant middleware) and the places it stops protecting you, queries outside the panel, queued jobs, unique validation and models without a resource.

  • #FilamentPHP
  • #Filamentv4
  • #Multi-tenancy

Global Scopes for Multi-Tenant Laravel Apps, and Where They Leak

How to scope tenant data with an Eloquent global scope in Laravel 12, and the places it does not reach, queued jobs, console commands, withoutGlobalScopes, validation rules, raw queries and pivot tables.

  • #Laravel
  • #SaaS
  • #Multi-tenancy