Multi-tenant Symfony with PlatformAware and Doctrine filter
How to hold multiple tenants in the same PostgreSQL database with a Platform entity, a PlatformAware trait and a per-request Doctrine filter.
- Multi-tenant
- Architecture
- Engineering
The journal documents delivery, architecture, cloud, AI and SaaS product topics.
How to hold multiple tenants in the same PostgreSQL database with a Platform entity, a PlatformAware trait and a per-request Doctrine filter.
How we built an invitation and login-code flow with hashing, expiration, lockout and IP-level guardrails.
Why a well-placed BFF can act both as a safer web-session boundary and as a data-shaping layer for the frontend.
Why we split the customer portal and the operator console into two Next.js apps, and what that separation removed from the codebase.
When to use RabbitMQ in a SaaS platform, which flows should go through it, and how it helps decouple provisioning, notifications and selected business workflows without event-driving the whole system.
A look at the technical choices behind Cercly — from the dev environment to production, across microservices, mobile, and AI-assisted delivery.
Why we removed jose from our Next.js stack, and the Web Crypto code that replaced it without breaking once since.
A few simple principles to accelerate delivery without creating technical debt that blocks the next iterations.
A solid architecture is not the most ambitious-looking one, but the one that stays readable when the context changes.