laravel创建类似ThinPHP中functions.php的全局函数 前言一直觉得ThinPHP中的公共函数是一个很好的设计,因为我们只需要在functions.php中对共用 laravel定义全局变量