Skip to content

Commit

Permalink
[15.x] Make commands lazy (#1667)
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 c9c3e86 commit e0d8694
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 @@ -33,6 +33,7 @@
"moneyphp/money": "^4.0",
"nesbot/carbon": "^2.0|^3.0",
"stripe/stripe-php": "^13.0",
"symfony/console": "^6.0|^7.0",
"symfony/http-kernel": "^6.0|^7.0",
"symfony/polyfill-intl-icu": "^1.22.1"
},
Expand Down
2 changes: 2 additions & 0 deletions src/Console/WebhookCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@

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

#[AsCommand(name: 'cashier:webhook')]
class WebhookCommand extends Command
{
public const DEFAULT_EVENTS = [
Expand Down

0 comments on commit e0d8694

Please sign in to comment.