1. 在项目根目录创建 functions.php (名字自定义)
2. 在composer.json文件 autoload下添加"files": ["functions.php"]
3. 终端执行 composer dump

laravel 自定义函数

 

相关文章:

  • 2021-11-29
  • 2021-11-24
  • 2021-12-22
  • 2021-10-29
  • 2021-10-29
  • 2021-10-19
  • 2021-11-03
  • 2021-11-03
猜你喜欢
  • 2018-08-17
  • 2021-11-03
  • 2019-09-07
相关资源
相似解决方案