michaeldyrynda/phpstorm-laravel-code-style
关于
符合 Laravel 贡献指南的 PhpStorm 代码风格配置
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文PhpStorm Laravel Code Style
This is a code style based on PSR-2, as per Laravel's Contribution Guide
Installation
Configuration folder : Drop the Laravel.xml file in the /config/codestyles/ subfolder within your configuration directory.
IDE Settings : Open your Settings (Ctrl + Alt + S) and go to Editor > Code Style section. Click on the Scheme wrench on the right and select Import Scheme > Intellij IDEA code style XML.
Notes
This code style has been updated in line with Laravel 5.4, and matches Laravel's code styles as best as possible with PhpStorm's available configuration.
Be mindful of the PHPDoc layout, which dictates @param is followed by two spaces, the argument type, two more spaces, and finally the variable name, which I've not been able to replicate in PhpStorm.
探索相关项目
加载中…