Where do I put custom code in Laravel

后端 未结 2 966
失恋的感觉
失恋的感觉 2021-01-13 02:57

Good day,

I have some custom code from a previous non-mvc application. It\'a all unit tested and stuff. Now, I need to put it in a laravel application. They are not

2条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-13 03:18

    You should also add the path to /start/global.php

    There is a more complete answer here:
    What are the best practices and best places for laravel 4 helpers or basic functions?

提交回复
热议问题