https://github.com/froggdev/phpstorm_configuration
Use some php librairies to create stats in one page
https://github.com/froggdev/phpstorm_configuration
Last synced: 4 months ago
JSON representation
Use some php librairies to create stats in one page
- Host: GitHub
- URL: https://github.com/froggdev/phpstorm_configuration
- Owner: FroggDev
- Created: 2018-03-04T19:39:40.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-15T11:42:09.000Z (about 8 years ago)
- Last Synced: 2025-05-17T04:07:19.843Z (about 1 year ago)
- Language: Batchfile
- Size: 82 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# phpStorm_configuration
Portable configuration for phpStorm for Windows or Linux.
more information on phpSotrm configuration : https://tool.frogg.fr/phpStorm
# description
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
# folders structure
```
dev/
+-- composer.json
+-- composer.lock
+-- settings.jar
+-- bin/
+-- script/
+-- vendor/
+-- tool/ (optional)
```
# Windows 'bin\' folder structure
/!\ 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
# Scripts as external tools
- _cleanAll.bat & _cleanAll.sh (cleanning symfony cache)
- export.bat & export.sh (exporting source code statistics)
# INSTALLATION
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
- https://tool.frogg.fr/dev_tools/phpStorm_symfony
# BONUS INSTALLATION (optional)
## watcher settings
import file: phpSotrm_watchers.xml
install ruby & npm : https://tool.frogg.fr/dev_tools/phpStorm_more
## BeHat tools
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
# UPDATING
```
composer update
```