Add the following code to composer.json
"autoload": { "files": [ "common/components/GlobalFunctions.php" ] }
then execute
composer update
exist
common/components/GlobalFunctions.php
Just write the function you want in the file
Add the following code to composer.json
"autoload": { "files": [ "common/components/GlobalFunctions.php" ] }
then execute
composer update
exist
common/components/GlobalFunctions.php
Just write the function you want in the file