I built my first time tracking / invoicing site in 2004, that even had punch in/out links you could use from your flip phone. I charged $5/mo. unlimited or $0.10 per custom PDF invoice sent to clients. I think it peaked at around 40 subscribers. Not terrible. I closed it in 2012 but kept using it to bill my own clients until 2017 or so.
I tried DOMpdf and it's variations but the problem was that they didn't support modern css, worse Tailwind, I used a laravel lilbrary, spatie/laravel-pdf, it use puppeteer and a chromium instance to take screenshots of a rendered html page
I built my first time tracking / invoicing site in 2004, that even had punch in/out links you could use from your flip phone. I charged $5/mo. unlimited or $0.10 per custom PDF invoice sent to clients. I think it peaked at around 40 subscribers. Not terrible. I closed it in 2012 but kept using it to bill my own clients until 2017 or so.