特别为 Laravel Scaffold 定制的 Phpstorm 设置;
- 减少代码输入量
- 提高编码效率
为 Laravel Scaffold 生成的 schema 文件提供代码模板;
- 字段的属性,输入
a.
- 常用字段默认设置,输入
f.
- schema 文件的相关结构,输入
s.
- 输入
index
一个索引配置 - 输入
field
一个字段配置 - 输入
dictionary
一个字典配置
- 下载文件后,解压
- 将 templates/* 的文件复制到 phpstorm 对应的目录
- 重启 phpstorm
- Windows: .\config\templates
- Linux: ~.\config\templates
- OS X: ~/Library/Preferences//templates
- OS X: ~/Library/Preferences//jba_config/templates
The Laravel framework is open-sourced software licensed under the MIT license.