Category : file

I am trying to autoload just a PHP file without any class in it but with helper functions instead. Something like Laravel helpers so: <?php if (!function_exists(‘fixture’)) { function fixture() { // some code here } } According to the docs it’s quite easy, I am doing something like that: "autoload": { "files": [ "src/Helpers/helpers.php" ..

Read more