All Projects → nicwortel → Phpstorm Ide Config

nicwortel / Phpstorm Ide Config

Licence: mit
My PhpStorm configuration for writing modern PHP code

Projects that are alternatives of or similar to Phpstorm Ide Config

Ide Stubs
Phalcon IDE Stubs
Stars: ✭ 137 (+149.09%)
Mutual labels:  ide, phpstorm
Laravel Whoops Editor
Laravel Whoops Editor helps to open your code editor from exception stack trace.
Stars: ✭ 83 (+50.91%)
Mutual labels:  ide, phpstorm
yii2-autocomplete-helper
Yii2 IDE Autocomplete Helper
Stars: ✭ 38 (-30.91%)
Mutual labels:  ide, phpstorm
Monaco Ide Font
〽️ Patched Monaco font for use in popular IDEs and editors
Stars: ✭ 127 (+130.91%)
Mutual labels:  ide, phpstorm
Php Conventions
Рекомендации по написанию PHP кода
Stars: ✭ 156 (+183.64%)
Mutual labels:  code-style, phpstorm
JetBrainsRunner
A Krunner Plugin which allows you to open your recent projects
Stars: ✭ 31 (-43.64%)
Mutual labels:  ide, phpstorm
Awesome Phpstorm
A curated list of amazingly awesome PHPStorm plugins, resources and other shiny things.
Stars: ✭ 719 (+1207.27%)
Mutual labels:  ide, phpstorm
Dev Cpp
A fast, portable, simple, and free C/C++ IDE
Stars: ✭ 940 (+1609.09%)
Mutual labels:  ide
Idea Php Drupal Symfony2 Bridge
PhpStorm plugin to support Symfony components inside Drupal 8
Stars: ✭ 34 (-38.18%)
Mutual labels:  phpstorm
Eve
Better tools for thought
Stars: ✭ 7,034 (+12689.09%)
Mutual labels:  ide
Liquid
Clojure Text Editor, for editing clojure code and markdown. Written entirely in Clojure with inspiration from Emacs and Vim.
Stars: ✭ 859 (+1461.82%)
Mutual labels:  ide
Crossui
CrossUI is a free Cross-Browser Javascript framework with cutting-edge functionality for rich web application
Stars: ✭ 945 (+1618.18%)
Mutual labels:  ide
Shuttle
Easily create native mobile applications.
Stars: ✭ 36 (-34.55%)
Mutual labels:  ide
Mspaintide
Programming in MS Paint
Stars: ✭ 909 (+1552.73%)
Mutual labels:  ide
Gradle And Eclipse Rcp
Gradle and Eclipse RCP
Stars: ✭ 37 (-32.73%)
Mutual labels:  ide
Ninja Ide
{Ninja-IDE Is Not Just Another IDE}
Stars: ✭ 868 (+1478.18%)
Mutual labels:  ide
Php Language Server
PHP Implementation of the VS Code Language Server Protocol 🆚↔🖥
Stars: ✭ 1,019 (+1752.73%)
Mutual labels:  ide
Miniedit
Mini text editor with highlighting code, made for PHP, Pascal, D, Lua, HTML and css or any text code.
Stars: ✭ 36 (-34.55%)
Mutual labels:  ide
Jetbrains Helper
Jetbrains helper
Stars: ✭ 33 (-40%)
Mutual labels:  phpstorm
Openbeans
OpenBeans is an IDE distribution. It packages the best there is in the ecosystem, polishes it, fixes minor annoyances and serves them to you in a clean bundle. Formerly CoolBeans.
Stars: ✭ 32 (-41.82%)
Mutual labels:  ide

PhpStorm IDE configuration

License

This is my global configuration for PhpStorm, my favorite IDE for PHP. I have some custom configuration for code styling, inspections and file templates, and I use Git to track these configuration files and to synchronize them between workstations. The code style rules are based on PSR-1, PSR-2 and PSR-12 but I also added some things that are not specified in the PSR guidelines.

Feel free to use or fork this repository. Note that I normally stay up-to-date with the latest PhpStorm version, and I cannot guarantee that this works with older versions.

Some configuration is specifically for the Php Inspections (EA Extended) plugin. I guess this is ignored when you don't have the plugin.

Code style settings overview

Language Standards
PHP PSR-2, PSR-12
HTML / Twig 4 spaces
CSS / SCSS / LESS 2 spaces
Yaml 2 spaces

Installation

Before you do this, make sure PhpStorm is not running, or it will overwrite the changed files before shutting down.

Use the following commands to go to the config directory, remove some default directories, and pull the files from my repository:

# replace with the actual directory name, depending on OS and PhpStorm version (see below).
cd ~/.PhpStorm2019.3/config

# remove the files and folders that are in this repository
rm -r codestyles/
rm -r fileTemplates/
rm -r inspection/

git init
git remote add origin [email protected]:nicwortel/phpstorm-ide-config.git
git fetch
git checkout -t origin/master

Location of the config folder

OS Location
Windows C:\Users\<User name>\.PhpStorm2019.3\config
Linux ~/.PhpStorm2019.3/config
OS X ~/Library/Preferences/PhpStorm2019.3

See Default IDE directories for more information about the location of the configuration directory.

Subdirectories of the config folder

Directory Contents
codestyles Code Style settings (Editor > Code Style)
colors Colors & Fonts settings (Editor > Colors & Fonts)
fileTemplates File and Code Templates (Editor > File and Code Templates)
filetypes File Types (Editor > File Types)
inspection Inspection profiles (Editor > Inspections)
keymaps Keyboard shortcuts (Keymap)
templates Live templates (Editor > Live Templates)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].