laravel 自定義函數

1. 在項目根目錄創建 functions.php (名字自定義) 2. 在composer.json文件 autoload下添加"files": ["functions.php"] 3. 終端執行 composer dump
相關文章
相關標籤/搜索