trait InteractsWithComposerPackages (View source)

Methods

bool
requireComposerPackages(string $composer, array $packages)

Installs the given Composer Packages into the application.

string
phpBinary()

Get the path to the appropriate PHP binary.

Details

protected bool requireComposerPackages(string $composer, array $packages)

Installs the given Composer Packages into the application.

Parameters

string $composer
array $packages

Return Value

bool

protected string phpBinary()

Get the path to the appropriate PHP binary.

Return Value

string

Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.