▸ Tag · #multi-tenancy
Multi-tenancy.
Multi-tenant SaaS architecture — tenant isolation, per-tenant data boundaries, and the Laravel patterns that keep it maintainable past ten customers.
-
LaravelMCP auth and audit logging in a Laravel SaaS
An MCP server on Laravel is only as safe as its tenancy boundary. Scoped tool auth, request-bound actor context, and an audit log you can actually read at 3am.
Read post →
-
LaravelMCP OAuth PKCE for multi-tenant SaaS
Laravel MCP requires PKCE S256 and prefers Client ID Metadata Documents. How multi-tenant SaaS should bind workspace at consent and avoid common agent auth failures.
Read post →
-
LaravelMCP tool errors agents can actually recover from
Throwing exceptions hides failures from the model. MCP wants isError tool results with actionable text, mapped from Laravel domain failures and audited like auth denials.
Read post →
-
LaravelIdempotency keys for MCP mutations in Laravel
Refunds, seat resets, and password emails need more than audit logging. Client-supplied idempotency keys, server-side short-circuits, and race-safe storage under Octane.
Read post →
-
DevOpsDitch expensive cloud providers for self-hosted SaaS
The cloud tax kills SaaS margins early. How self-hosted Coolify on cheap ARM instances at Hetzner or Oracle slashes a $500 AWS bill toward zero.
Read post →
-
ArchitectureRate limiting: protecting your AI wallet
One runaway agent loop can mean a $5,000 LLM bill. Why request-per-second limits lie, and how hierarchical token-bucket limits protect your margins.
Read post →
-
ArchitectureAPI gateway: the front door of your AI stack
Stop exposing LLM providers to your frontend. The API gateway pattern for AI apps: tenant isolation, model aliases, rate limiting, and streaming-safe timeouts.
Read post →
-
DevOpsSelf-hosted SaaS with Coolify and Docker
Get Heroku-grade DX on your own server. How Coolify and Docker on a cheap VPS deliver one-click databases, automatic SSL, and zero-downtime deploys.
Read post →
-
LaravelLaravel multi-tenancy: a scalable SaaS architecture
Single DB vs multi-DB, global scopes that stop data leaks, stancl/tenancy in production, isolated storage, automated migrations, and a Docker plus Cloud setup.
Read post →