Best practices for custom helpers on laravel 5

Best practices for custom helpers on laravel 5

在Lavavel5上一些通用的方法(common functions/helper functions)放在什么位置那个文件比较好? 论坛里看到了个比较满意的回答。

"autoload": {
    "classmap": [
        "database"
    ],
    "psr-4": {
        "Tasky\\": "app/"
    },
    "files": [
        "app/Support/helpers.php"
    ]
},
$ composer dumpautoload

References

best-practices-for-custom-helpers-on-laravel-5 @lvismer

Related Article