PHPackages                             gk/phpstorm-configurator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. gk/phpstorm-configurator

ActiveApplication[Utility &amp; Helpers](/categories/utility)

gk/phpstorm-configurator
========================

Configure PHPStorm project (including Symfony2 plugin)

3152[1 PRs](https://github.com/geecu/phpstorm-configurator/pulls)PHP

Since Nov 14Pushed 7y ago1 watchersCompare

[ Source](https://github.com/geecu/phpstorm-configurator)[ Packagist](https://packagist.org/packages/gk/phpstorm-configurator)[ RSS](/packages/gk-phpstorm-configurator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

phpstorm-configurator
=====================

[](#phpstorm-configurator)

A tool to help configuring phpstorm projects (add excluded folders, enable symfony2 plugin, etc.)

Installation (globally, using composer)
---------------------------------------

[](#installation-globally-using-composer)

```
$ composer global require gk/phpstorm-configurator:dev-master

```

make sure you have `~/.composer/vendor/bin` in your `PATH`

```
export PATH="$PATH:$HOME/.composer/vendor/bin"

```

CLI Usage
---------

[](#cli-usage)

```
phpstorm-configurator configure

```

Configures the currently working directory as a PHPStorm project. (The simple usage is useless, you'd better use `pstorm .`)

### Exclude folders

[](#exclude-folders)

```
phpstorm-configurator configure --exclude app/cache -exclude app/logs

```

or, using the shorthand options

```
phpstorm-configurator configure -x app/cache -x app/logs

```

### Symfony2 plugin

[](#symfony2-plugin)

```
phpstorm-configurator configure --plugin symfony2

```

or, using the shorthand options

```
phpstorm-configurator configure -p symfony2

```

This marks `app/cache` and `app/logs` as excluded and enables the [Symfony2 plugin](http://symfony2-plugin.espend.de/)

Code usage
----------

[](#code-usage)

If you want to finetune the configuration of the project:

```
#!/usr/bin/env php
