Similar PHP projects which I wrote on Freelancer.com:
https://www.freelancer.com/projects/javascript/Google-app-Script-16324428/
https://www.freelancer.com/projects/php/Help-turn-Node-function-into/
https://www.freelancer.com/projects/php/Create-small-script-that-creates/
https://www.freelancer.com/projects/php/Consignment-Reports/