diff --git a/composer.json b/composer.json index 28a2c89..53e7065 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,8 @@ "illuminate/routing": "^10.19|^11.0", "illuminate/support": "^10.19|^11.0", "illuminate/view": "^10.19|^11.0", - "spatie/once": "^3.1" + "spatie/once": "^3.1", + "symfony/console": "^6.0|^7.0" }, "require-dev": { "orchestra/testbench": "^8.6.0|^9.0", diff --git a/src/Console/InstallCommand.php b/src/Console/InstallCommand.php index f83d3d3..028e4a9 100644 --- a/src/Console/InstallCommand.php +++ b/src/Console/InstallCommand.php @@ -6,7 +6,9 @@ use Illuminate\Support\Facades\File; use Illuminate\Support\ServiceProvider; use Illuminate\Support\Str; +use Symfony\Component\Console\Attribute\AsCommand; +#[AsCommand(name: 'folio:install')] class InstallCommand extends Command { /**