class InstallCommand extends Command (View source)

Traits

Properties

protected $signature
protected $description

Methods

bool
checkForCollision(array $paths)

No description

void
copyStubToApp(string $stub, string $targetPath, array $replacements = [])

No description

bool
fileExists(string $path)

No description

void
writeFile(string $path, string $contents)

No description

string
getDefaultStubPath()

No description

bool
generatePanel(string|null $id = null, string $default = '', string $placeholder = '', bool $force = false)

No description

int
__invoke()

No description

void
askToStar()

No description

bool
installAdminPanel()

No description

void
installScaffolding()

No description

static void
updateNpmPackages(bool $dev = true)

No description

static array
updateNpmPackageArray(array $packages)

No description

void
installUpgradeCommand()

No description

Details

protected bool checkForCollision(array $paths)

No description

Parameters

array $paths

Return Value

bool

protected void copyStubToApp(string $stub, string $targetPath, array $replacements = [])

No description

Parameters

string $stub
string $targetPath
array $replacements

Return Value

void

protected bool fileExists(string $path)

No description

Parameters

string $path

Return Value

bool

protected void writeFile(string $path, string $contents)

No description

Parameters

string $path
string $contents

Return Value

void

protected string getDefaultStubPath()

No description

Return Value

string

bool generatePanel(string|null $id = null, string $default = '', string $placeholder = '', bool $force = false)

No description

Parameters

string|null $id
string $default
string $placeholder
bool $force

Return Value

bool

int __invoke()

No description

Return Value

int

protected void askToStar()

No description

Return Value

void

protected bool installAdminPanel()

No description

Return Value

bool

protected void installScaffolding()

No description

Return Value

void

static protected void updateNpmPackages(bool $dev = true)

No description

Parameters

bool $dev

Return Value

void

static protected array updateNpmPackageArray(array $packages)

No description

Parameters

array $packages

Return Value

array

protected void installUpgradeCommand()

No description

Return Value

void