Skip to content
プロジェクト

michaeldyrynda/phpstorm-laravel-code-style

GitHubで見る

概要

Laravelのコントリビューションガイドラインに準拠したPhpStormのコードスタイル

Web・アプリ開発

この数値の測り方

計測したスター増加

24時間
0
7日間
0
15日間
0
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

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.

関連プロジェクトを探す

読み込み中…