Menu

## ScaffoldFrontendCommand extends BaseCommand
in package

ScaffoldFrontendCommand.php : 21

Scaffolds any frontend project in the right directory using a package manage of choice and a frontend framework of choice.

Command is mostly interactive

##### Tags

since
  1.1.6

### Table of Contents

#### Properties

$description : string
$directory : string
$frameworks : array<string|int, mixed>
$name : string
$packageManager : string
$pManagers : array<string|int, mixed>

#### Methods

askFrameworkOptions() : bool|string
configure() : void
execute() : int
  Scaffolds a full frontend framework

### Properties

#### $description

ScaffoldFrontendCommand.php : 28
`protected string $description = 'Scaffolds any frontend project in the right directory using a package manage of choice and a frontend framework of choice. Command is mostly interactive..'`

#### $directory

ScaffoldFrontendCommand.php : 26
`protected string $directory = 'frontend'`

#### $frameworks

ScaffoldFrontendCommand.php : 23
`protected array<string|int, mixed> $frameworks = ['Vue', 'React', 'Z-js', 'Qwik', 'Lit', 'Preact', 'Svelte', 'Solid']`

#### $name

ScaffoldFrontendCommand.php : 27
`protected string $name = 'frontend:scaffold'`

#### $packageManager

ScaffoldFrontendCommand.php : 25
`protected string $packageManager = 'npm'`

#### $pManagers

ScaffoldFrontendCommand.php : 24
`protected array<string|int, mixed> $pManagers = ['yarn', 'npm', 'pnpm', 'bun']`

### Methods

#### askFrameworkOptions()

ScaffoldFrontendCommand.php : 39
`protected askFrameworkOptions(mixed $input, mixed $output[, bool|null $shouldYes = false ]) : bool|string`

##### Parameters

$input : mixed
$output : mixed
$shouldYes : bool|null = false

##### Return values

bool|string

#### configure()

ScaffoldFrontendCommand.php : 31
`protected configure() : void`

#### execute()

ScaffoldFrontendCommand.php : 73

Scaffolds a full frontend framework

`protected execute(InputInterface $input, OutputInterface $output) : int`

##### Parameters

$input : InputInterface
$output : OutputInterface

##### Return values

int

## Search results