所属: "php开发"
11月 20, 2019 - php开发    git 必须会的几个命令已关闭评论

git 必须会的几个命令

首先:mac,unix下的换行符是lf,window下是crlf

若是在win下开发的则最好同步设置如下:避免拉取代码后一堆文件都要改换行符

git 若设置git config –global core.autocrlf true:则拉取时转为CRLF,提交时[……]

Read more

10月 20, 2019 - laravel, php开发    Laravel ide_helper插件应用已关闭评论

Laravel ide_helper插件应用

安装插件:composer require barryvdh/laravel-ide-helper –dev

命令行:

  php artisan ide-helper:generate – 为 Facades 生成 phpDocs 注释

[……]

Read more

8月 5, 2019 - php开发    laravel 常用优化已关闭评论

laravel 常用优化

1, 压力测试、集成测试,系统测试,性能测试

2、 正式环境关闭debug,设置debug为false
      开启OPcache
      路由缓存:php artisan route:cache
[……]

Read more