Skip to content

gmphp/PhpStormSupportBundle

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published