Matt Mochalkin·1d agoOne Kernel for Every Tenant: FrankenPHP Worker Mode for Database-per-Tenant Symfony 8.1Part 2 of the shared-deployment series: the database-per-tenant demo on FrankenPHP worker mode, with one open connection per tenant…A response icon1A response icon1
Matt Mochalkin·4d agoStop Paying for Idle Tenants: Database-per-Tenant Symfony 8.1 on One Shared DeploymentKeep a database per tenant and drop the deployment per tenant. The connection, cache and Messenger workers follow the tenant, with no…
Matt Mochalkin·Nov 9Draft by Agent, Approve by Human: A Publishing API and MCP Server for Symfony 8.1Let AI agents draft, lint and submit articles on a Symfony site through scoped API keys and an MCP endpoint, while a human keeps the…
Matt Mochalkin·Nov 5Passkeys in 17 Files: Hybrid Login, Recovery Codes and Revocation in Symfony 8.1A build-along guide from Symfony skeleton to a working passkey login, with a hybrid password form, revocation and recovery codes.
Matt Mochalkin·Nov 27.7x Smaller and Encrypted at Rest: Compressing Symfony Messenger Payloads Without Touching a…Symfony Messenger serializes a message, hands the bytes to a transport and forgets about them. Two things routinely go wrong with those…
Matt Mochalkin·Jun 19Mastering Symfony Security, Passports and Custom Authenticators #1Security is the cornerstone of any modern web application, but historically, implementing robust authentication and authorization…
Matt Mochalkin·Jun 4The SOC 2 Blueprint: Beyond RBAC with AppLevel Infrastructure Isolation & Key Sharding. Part #2In Part 1, we implemented Application-Level Envelope Encryption. Our documents are now protected by per-record AES keys, wrapped in…
Matt Mochalkin·May 27The SOC 2 Blueprint: Beyond RBAC with AppLevel Encryption and Audit Isolation. Part #1In the modern landscape of SaaS and enterprise software, SOC 2 (System and Organization Controls 2) is no longer a “nice to have” — it is a…
Matt Mochalkin·May 22Stop N+1 Queries Forever: Advanced Doctrine ORM Strategies in Symfony 8.1The N+1 query problem is the silent killer of application performance. You build a beautiful new Symfony endpoint, test it locally with a…A response icon2A response icon2
Matt Mochalkin·May 14Benchmarking Symfony 8.1’s Native DeepCloner vs. Manual SerializationWhen building complex Domain-Driven Design (DDD) applications in Symfony, developers frequently encounter the need to duplicate complex…