diff --git a/composer.json b/composer.json index 3a36b517c..0d7421424 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,8 @@ "illuminate/console": "^11.0", "illuminate/filesystem": "^11.0", "illuminate/support": "^11.0", - "illuminate/validation": "^11.0" + "illuminate/validation": "^11.0", + "symfony/console": "^7.0" }, "autoload": { "psr-4": { diff --git a/src/Console/InstallCommand.php b/src/Console/InstallCommand.php index c9f779b39..7d708d383 100644 --- a/src/Console/InstallCommand.php +++ b/src/Console/InstallCommand.php @@ -8,6 +8,7 @@ use Illuminate\Support\Arr; use Illuminate\Support\Str; use RuntimeException; +use Symfony\Component\Console\Attribute\AsCommand; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Finder\Finder; @@ -18,6 +19,7 @@ use function Laravel\Prompts\multiselect; use function Laravel\Prompts\select; +#[AsCommand(name: 'breeze:install')] class InstallCommand extends Command implements PromptsForMissingInput { use InstallsApiStack, InstallsBladeStack, InstallsInertiaStacks, InstallsLivewireStack;