Was able to get 100% code coverage on github.com/danielh-official/ynab-repeating-export. Also did a healthy amount of refactoring.
Today, I'm going to look into an SDK for YNAB written in PHP.
Oh nice. New YNAB user myself. Haven't even thought about doing any integrations with it.