Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
DEPRECATED BUNDLE - Currently PhpStorm supports symfony2
PHP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Command
MarphiPhpStormSupportBundle.php
README.md

README.md

MarphiPhpStormSupportBundle

The bundle provides support to complement the console for Symfony2 in PhpStorm.

Instalation

Add the following lines in your deps file:

[MarphiPhpStormSupportBundle]
    git=git://github.com/marphi/PhpStormSupportBundle.git
    target=bundles/Marphi/PhpStormSupportBundle

Run the vendors install script:

$ php bin/vendors install

Configuration

Add the Marphi namespace to your autoloader:

<?php
// app/autoload.php

$loader->registerNamespaces(array(
    // ...
    'Marphi' => __DIR__.'/../vendor/bundles',
));

Enable the bundle in the kernel:

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Marphi\PhpStormSupportBundle\MarphiPhpStormSupportBundle(),
    );
}

Generate config file

In project directory run script:

$ php app/console phpstorm:command:config > .idea/commandlinetools/Symfony2.xml

Now you must restart PhpStorm. When you add new bundles to your project you must execute again command to refresh config file.

Usage

Run Command Line Tools: SHIF+CTRL+X or Tools->Run Command...

Command Line Tools

Start typing

Complement console of Symfony2 in PHPStorm

Something went wrong with that request. Please try again.