for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Ahc\Phint\Util;
class Composer extends Executable
{
/** @var string The binary executable */
protected $binary = 'composer';
public function createProject($project, $using)
$this->runCommand(sprintf('create-project %s %s', $using, $project));
return $this;
}
public function install()
$this->runCommand('install --prefer-dist --optimize-autoloader --no-suggest');
public function update()
$this->runCommand('update --prefer-dist --optimize-autoloader --no-suggest');