Portable configuration for phpStorm for Windows or Linux.
more information on phpSotrm configuration : https://tool.frogg.fr/phpStorm
The goal is to have :
- composer.json with main dev tools (php metrics, phpcs, phpmd, ...)
- usefull scripts (clean cache for symfony & source code statistics)
- minification (scss, min.css, min.js)
- the main binaries composer, git, php, gem, npm (for Windows)
- you can even add your portable tools in an extra tool folder (like commander, putty, etc ...)
I choose to use DEV composer component but it can be change in composer.json
- more information on composer : https://tool.frogg.fr/composer
- more information on phpSotrm : https://tool.frogg.fr/phpStorm
dev/
+-- composer.json
+-- composer.lock
+-- settings.jar
+-- bin/
+-- script/
+-- vendor/
+-- tool/ (optional)
/!\ this folder is only for Windows /!\
bin/
+-- add2path.bat
¦
+-- node/
¦ +-- npm
¦
+--ruby/
¦ +-- bin/
¦ +-- gem
¦
+-- composer/
¦ +-- composer.phar
¦ +-- composer.bat
¦
+-- git/
¦ +-- bin/
¦ ¦ +-- git.exe
¦ ¦ +-- (...)
¦ +-- (...)
¦
+-- php/
¦ +-- php.exe
¦ +-- (...)
¦ +-- ext/
¦ +-- php_xdebug.dll
¦ +-- (...)
¦
+-- chromedriver/
¦ +-- chromedriver.exe
¦
+-- java/
+-- bin/
+-- java.exe
All binaries links are available in bin/bin_downloads.txt
The script bin/add2path.bat add automatically this structure to the PATH
- _cleanAll.bat & _cleanAll.sh (cleanning symfony cache)
- export.bat & export.sh (exporting source code statistics)
1- Copy project file to c:\dev
2- install composer component
composer install
3- install missing bin
- PHP, Composer, Git installation : https://tool.frogg.fr/dev_tools/phpStorm_main_tool
4- Import phpStorm settings
- main settings : phpStorm_settings/phpSotrm_settings(windows).jar
5- Manual Plugins install
import file: phpSotrm_watchers.xml
install ruby & npm : https://tool.frogg.fr/dev_tools/phpStorm_more
install java & download chrome driver
download selenium-server-standalone.jar to C:\dev\tool\selenium
C:\dev\script\selenium\selenium.bat will start selenium server for BeHat
composer update