You'll need to add the following to composer.json (some of it is already in there, you need to add the files key and contents.
The app/Support/helpers.php is just an example, and where I would typically put helper functions, but you can put them wherever you like.
If you do change it, just change all occurences of app/Support/helpers.php to the path you chose.