Case study / PHP / SYMFONY
Workshop ERP.
stack.log
01 / overview
The project.
SanoERP: the ERP for independent auto service shops
Tagline: Know the margin on every job and the efficiency of every mechanic.
Overview
SanoERP is a multi-tenant SaaS ERP built for independent auto service workshops: shops with 3–15 bays that currently run on whiteboards, WhatsApp and
spreadsheets. Most competitors stop at "invoicing + stock". SanoERP connects the whole workshop flow, from the first quote to the e-invoice sent to the
tax authority, and turns that data into the two numbers that matter to the owner: profit per job and mechanic efficiency (standard hours vs. clocked
hours, per operation).
What it covers: 14 modules
- CRM: clients, vehicles and vehicle timeline, repair quotes (devize) with margin pricing, customer approval links sent by SMS or WhatsApp, service
reminders, warranty tickets, fleet agreements
- Operations: work orders, a workshop tablet for mechanics, operation timing, a planner board, quality checks, rework tracking, tyre storage
- Stock & Procurement: parts, reservations, a full stock ledger, reorder points, supplier price lists, purchase orders with approval, goods receipt and
three-way matching, supplier scoring
- Finance & Ledger: invoicing with a VAT engine, insurance payer split, consolidated invoicing, payments and client credit exposure, a double-entry
ledger, accounting export
- e-Factura: RO_CIUS UBL 2.1 XML generation and validation, connection to the ANAF SPV (the Romanian tax authority's e-invoicing portal) via OAuth,
submission with status polling and refusal handling
- HR: employees and certifications, leave approval, attendance (pontaj), shift planning, payroll export
- BI: KPI dashboard, margin, mechanic-efficiency and job-type reports, drill-down to source documents, PDF and CSV export
- Platform: self-service signup, Stripe subscriptions with per-module gating, roles and permissions matrix, public API and webhooks
Under the hood
- Stack: PHP 8.4, Symfony 8.1, Doctrine ORM 3, MySQL, Redis, RabbitMQ, Twig + Bootstrap 5, Turbo/Stimulus, Docker
- Architecture: Domain-Driven Design with 14 bounded-context bundles. Each one is layered as Domain, Application, Infrastructure and Presentation, and
the bundles talk to each other only through explicit contracts.
- Reliability: integration events through a transactional outbox, idempotent consumers, dead-letter queues
- Multi-tenancy & security: tenant isolation, RBAC with permission enforcement, Cloudflare Turnstile
- Quality: about 500 automated test suites (unit, integration, functional, architecture, security and golden tests), PHPStan static analysis, and
architecture tests that enforce the layer boundaries
- International: 5 languages (RO, EN, DE, ES, FR)
- AI-assisted delivery: built through 125+ versioned change requests, each with its own written spec and implementation summary, using AI coding agents
held to strict architecture rules
Tagline: Know the margin on every job and the efficiency of every mechanic.
Overview
SanoERP is a multi-tenant SaaS ERP built for independent auto service workshops: shops with 3–15 bays that currently run on whiteboards, WhatsApp and
spreadsheets. Most competitors stop at "invoicing + stock". SanoERP connects the whole workshop flow, from the first quote to the e-invoice sent to the
tax authority, and turns that data into the two numbers that matter to the owner: profit per job and mechanic efficiency (standard hours vs. clocked
hours, per operation).
What it covers: 14 modules
- CRM: clients, vehicles and vehicle timeline, repair quotes (devize) with margin pricing, customer approval links sent by SMS or WhatsApp, service
reminders, warranty tickets, fleet agreements
- Operations: work orders, a workshop tablet for mechanics, operation timing, a planner board, quality checks, rework tracking, tyre storage
- Stock & Procurement: parts, reservations, a full stock ledger, reorder points, supplier price lists, purchase orders with approval, goods receipt and
three-way matching, supplier scoring
- Finance & Ledger: invoicing with a VAT engine, insurance payer split, consolidated invoicing, payments and client credit exposure, a double-entry
ledger, accounting export
- e-Factura: RO_CIUS UBL 2.1 XML generation and validation, connection to the ANAF SPV (the Romanian tax authority's e-invoicing portal) via OAuth,
submission with status polling and refusal handling
- HR: employees and certifications, leave approval, attendance (pontaj), shift planning, payroll export
- BI: KPI dashboard, margin, mechanic-efficiency and job-type reports, drill-down to source documents, PDF and CSV export
- Platform: self-service signup, Stripe subscriptions with per-module gating, roles and permissions matrix, public API and webhooks
Under the hood
- Stack: PHP 8.4, Symfony 8.1, Doctrine ORM 3, MySQL, Redis, RabbitMQ, Twig + Bootstrap 5, Turbo/Stimulus, Docker
- Architecture: Domain-Driven Design with 14 bounded-context bundles. Each one is layered as Domain, Application, Infrastructure and Presentation, and
the bundles talk to each other only through explicit contracts.
- Reliability: integration events through a transactional outbox, idempotent consumers, dead-letter queues
- Multi-tenancy & security: tenant isolation, RBAC with permission enforcement, Cloudflare Turnstile
- Quality: about 500 automated test suites (unit, integration, functional, architecture, security and golden tests), PHPStan static analysis, and
architecture tests that enforce the layer boundaries
- International: 5 languages (RO, EN, DE, ES, FR)
- AI-assisted delivery: built through 125+ versioned change requests, each with its own written spec and implementation summary, using AI coding agents
held to strict architecture rules
04 / let's connect
Let's build the future.
Tell us what you're imagining. We'll bring the architecture, the craft, and the momentum.
[email protected]Send us a brief