How to add my own custom class in Laravel 5?

前端 未结 2 1619
离开以前
离开以前 2021-02-07 18:44

Ok, in laravel 4, if I want to add my own custom class, eg : library\\myFunction.php then I do the following steps :

  1. add \"myFunctions.php\" into
2条回答
  •  [愿得一人]
    2021-02-07 19:43

    After some trial and error, I found the answer.

    There is no need to modify Composer. Just modify the Blade into:

    is_ok());
    ?>
    

提交回复
热议问题