9 min
PHPUnit: production notes
PHPUnit guards regressions — feature and unit tests around money, auth, and tenancy pay the highest interest.
Read article →
Pratik Sahu
Blog
Engineering notes on Laravel, APIs, databases, and shipping software in production.
1000 articles
Featured · 9 min read
APIsSpring Data JPA speeds repository work while still demanding respect for fetch graphs and transactions.
Read article →
9 min
PHPUnit guards regressions — feature and unit tests around money, auth, and tenancy pay the highest interest.
Read article →
9 min
Git enables safe collaboration — small commits, descriptive messages, and rebases that respect shared history.
Read article →
9 min
Indexes are write-costly shortcuts for read paths — design them for queries you actually ship.
Read article →
9 min
Jobs encapsulate asynchronous units of work with explicit failure and retry semantics.
Read article →
11 min
How **Webhooks** supports **Incident runbooks** in API & Security — triage, comms, and postmortems.
Read article →
11 min
How **Webhooks** supports **Engineer onboarding** in API & Security — local setup, conventions, and first PR.
Read article →
11 min
How **Multi-Tenant Design** supports **Webhook patterns** in Architecture — signatures, fast ack, and async processing.
Read article →
11 min
How **Linux (Ubuntu)** supports **Cloud cost control** in Cloud & DevOps — right-sizing, quotas, and spend alerts.
Read article →
11 min
How **Jobs** supports **API design** in PHP & Laravel — contracts, versioning, and error envelopes.
Read article →
11 min
How **Events** supports **Legacy modernization** in PHP & Laravel — strangler fig, seams, and incremental extraction.
Read article →
11 min
How **Spring Data JPA** supports **Technical documentation** in Java & Spring — runbooks, ADRs, and onboarding docs.
Read article →
10 min
How **FastAPI** supports **Automated testing** in Python — feature tests, fakes, and CI gates.
Read article →