Skip to content

Commit 405388f

Browse files
authored
[1.x] Make commands lazy (#527)
* Make commands lazy * Fix soft dependency
1 parent e3e8e10 commit 405388f

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"ext-json": "*",
1919
"bacon/bacon-qr-code": "^2.0",
2020
"illuminate/support": "^10.0|^11.0",
21+
"symfony/console": "^6.0|^7.0",
2122
"pragmarx/google2fa": "^8.0"
2223
},
2324
"require-dev": {

src/Console/InstallCommand.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
use Illuminate\Console\Command;
66
use Illuminate\Support\ServiceProvider;
77
use Laravel\Fortify\FortifyServiceProvider;
8+
use Symfony\Component\Console\Attribute\AsCommand;
89

10+
#[AsCommand(name: 'fortify:install')]
911
class InstallCommand extends Command
1012
{
1113
/**

0 commit comments

Comments
 (0)