I\'ve created a library folder within the app folder to add my own classes.
library
app
This is the content of the file app/library/helper.p
app/library/helper.p
Use files directive in composer.json: https://getcomposer.org/doc/04-schema.md#files
files
composer.json
{ "autoload": { "files": ["app/library/helper.php"] } }