For a year I was the sole engineer for Finance, HR and Payroll on an insurer's core platform, taking requirements directly from the CEO, CTO and finance and HR leadership.
I built payroll runs, statutory deductions and payslips, plus the HR records they depend on.
Payroll can't be "mostly right", so I wrote about 2,030 automated tests (Pest) for HR and payroll in five weeks, covering edge cases like mid-month joiners, deductions and recalculations.
Result: payroll changes ship with confidence instead of a manual re-check every month.
Stack: Laravel, FilamentPHP, MySQL, Pest.

Every payslip shows how it was calculated: rates, proration, days worked.

Statutory deductions with the rule behind each line, including caps.

Monthly payroll run: gross, deductions and net per employee, then approval.
0 likes · 0 views · Nov 20, 2026
Payroll runs, statutory deductions and payslips for an insurer, backed by about 2,030 Pest tests written in five weeks.