I use composer in my last project and map my function as follows
"require": { ... }, "require-dev": { ... }, "autoload": { "psr-4": { ... }, "files": [ "src/function/test-function.php" ] }
I assume that there will be many files in the folder, for example: real-function-1.php, real-function-2.php, etc. So, can a composer call all the files in a folder function? I'm lazy to use
"files": [ "src/function/real-function-1.php", "src/function/real-function-2.php", .., "src/function/real-function-100.php", ]
Is there a lazy person like me ...
source share