trait InteractsWithComposerPackages

Methods

void
requireComposerPackages(string $composer, array $packages, bool $pretend = false)

Install the given Composer packages into the application.

void
runInstallationCommand(array $arguments)

Run a newly installed Artisan command in a fresh application process.

string
phpBinary()

Get the path to the appropriate PHP binary.

Details

at line 20
protected void requireComposerPackages(string $composer, array $packages, bool $pretend = false)

Install the given Composer packages into the application.

Parameters

string $composer
array $packages
bool $pretend

Return Value

void

at line 48
protected void runInstallationCommand(array $arguments)

Run a newly installed Artisan command in a fresh application process.

Parameters

array $arguments

Return Value

void

at line 66
protected string phpBinary()

Get the path to the appropriate PHP binary.

Return Value

string