Skip to content
This repository has been archived by the owner on May 20, 2024. It is now read-only.

Commit

Permalink
[1.x] Make commands lazy (#97)
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 7f45f64 commit 8bd6fa6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"php": "^7.3|^8.0",
"aws/aws-sdk-php": "^3.148.3",
"laravel/framework": "^8.0|^9.0|^10.0",
"symfony/console": "^5.3|^6.0",
"symfony/yaml": "^5.1.4|^6.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 @@ -4,7 +4,9 @@

use Illuminate\Console\Command;
use Illuminate\Support\Str;
use Symfony\Component\Console\Attribute\AsCommand;

#[AsCommand(name: 'vapor-ui:install')]
class InstallCommand extends Command
{
/**
Expand Down
2 changes: 2 additions & 0 deletions src/Console/PublishCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
namespace Laravel\VaporUi\Console;

use Illuminate\Console\Command;
use Symfony\Component\Console\Attribute\AsCommand;

#[AsCommand(name: 'vapor-ui:publish')]
class PublishCommand extends Command
{
/**
Expand Down

0 comments on commit 8bd6fa6

Please sign in to comment.