performer/vagrant
最新稳定版本:1.0.0
Composer 安装命令:
composer require performer/vagrant
包简介
Vagrant PHPStorm Command Line Tools Console
README 文档
README
Symfony bundle -> Contain vagrant commands + Symfony and Doctrine Commands executed directly in "vagrant ssh --command 'bin/console some:command' "
Composer
Enable the Bundle in AppKernel.php
"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)
Configuration example
You can configure default query parameter names and templates
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'
统计信息
- 总下载量: 21
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-10-30