Skip to content

Commit

Permalink
[1.x] Make commands lazy (#527)
Browse files Browse the repository at this point in the history
* Make commands lazy

* Fix soft dependency
  • Loading branch information
timacdonald committed Mar 19, 2024
1 parent e3e8e10 commit 405388f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"ext-json": "*",
"bacon/bacon-qr-code": "^2.0",
"illuminate/support": "^10.0|^11.0",
"symfony/console": "^6.0|^7.0",
"pragmarx/google2fa": "^8.0"
},
"require-dev": {
Expand Down
2 changes: 2 additions & 0 deletions src/Console/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
use Illuminate\Console\Command;
use Illuminate\Support\ServiceProvider;
use Laravel\Fortify\FortifyServiceProvider;
use Symfony\Component\Console\Attribute\AsCommand;

#[AsCommand(name: 'fortify:install')]
class InstallCommand extends Command
{
/**
Expand Down

0 comments on commit 405388f

Please sign in to comment.