2017 © Pedro Peláez
 

symfony-bundle vagrant

Vagrant PHPStorm Command Line Tools Console

image

performer/vagrant

Vagrant PHPStorm Command Line Tools Console

  • Friday, October 30, 2015
  • by Dimentar
  • Repository
  • 1 Watchers
  • 2 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

PerformerVagrantBundle

Symfony bundle -> Contain vagrant commands + Symfony and Doctrine Commands executed directly in "vagrant ssh --command 'bin/console some:command' ", (*1)


Composer

Enable the Bundle in AppKernel.php, (*2)

"require": {
        ...
        "performer/vagrant": "dev-master"
    }
// app/AppKernel.php
// use ...

class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...

            new Performer\VagrantBundle\PerformerVagrantBundle(),
        );

        // ...
    }

    // ...
}

Use PHPStorm

Settings -> Command Line Tools Console -> + (new command) -> Choose Tool (Tool based on Symfony Console) -> Alias (v) -> Path to script (bin/vagrant), (*3)


Configuration example

You can configure default query parameter names and templates, (*4)

performer_vagrant:
    defaults:
        remote_php_interpreter: /usr/bin/php
        remote_site_dir: /var/www
        remote_symfony_console: /bin/console
    users:
        remote_commands: ['Vendor\Path\Command', ... ]

Command example

vagrant ssh --command '/usr/bin/php /var/www/bin/console cache:clear --env=dev'

The Versions

30/10 2015

dev-master

9999999-dev

Vagrant PHPStorm Command Line Tools Console

  Sources   Download

MIT

The Requires

 

The Development Requires

by Moisei Alexandru

30/10 2015

1.0.0

1.0.0.0

Vagrant PHPStorm Command Line Tools Console

  Sources   Download

MIT

The Requires

 

The Development Requires

by Moisei Alexandru