Skip to content

Commit

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

* Fix soft dependency
  • Loading branch information
timacdonald authored Mar 19, 2024
1 parent cfb7d9a commit f0a891a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 2 additions & 0 deletions src/Console/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
/**
Expand Down

0 comments on commit f0a891a

Please sign in to comment.