diff --git a/composer.json b/composer.json index 27a5f06ca..a3f08672a 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,8 @@ "illuminate/console": "^11.0", "illuminate/support": "^11.0", "laravel/fortify": "^1.20", - "mobiledetect/mobiledetectlib": "^4.8" + "mobiledetect/mobiledetectlib": "^4.8", + "symfony/console": "^7.0" }, "require-dev": { "inertiajs/inertia-laravel": "^1.0", diff --git a/src/Console/InstallCommand.php b/src/Console/InstallCommand.php index 349f63d6b..23f33375d 100644 --- a/src/Console/InstallCommand.php +++ b/src/Console/InstallCommand.php @@ -10,6 +10,7 @@ use Illuminate\Support\ServiceProvider; 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; @@ -20,6 +21,7 @@ use function Laravel\Prompts\multiselect; use function Laravel\Prompts\select; +#[AsCommand(name: 'jetstream:install')] class InstallCommand extends Command implements PromptsForMissingInput { /**