File tree Expand file tree Collapse file tree 6 files changed +11
-0
lines changed Expand file tree Collapse file tree 6 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 3030 "league/oauth2-server" : " ^8.5.3" ,
3131 "nyholm/psr7" : " ^1.5" ,
3232 "phpseclib/phpseclib" : " ^2.0|^3.0" ,
33+ "symfony/console" : " ^6.0|^7.0" ,
3334 "symfony/psr-http-message-bridge" : " ^2.1|^6.0|^7.0"
3435 },
3536 "require-dev" : {
Original file line number Diff line number Diff line change 66use Laravel \Passport \Client ;
77use Laravel \Passport \ClientRepository ;
88use Laravel \Passport \Passport ;
9+ use Symfony \Component \Console \Attribute \AsCommand ;
910
11+ #[AsCommand(name: 'passport:client ' )]
1012class ClientCommand extends Command
1113{
1214 /**
Original file line number Diff line number Diff line change 44
55use Illuminate \Console \Command ;
66use Laravel \Passport \Passport ;
7+ use Symfony \Component \Console \Attribute \AsCommand ;
78
9+ #[AsCommand(name: 'passport:hash ' )]
810class HashCommand extends Command
911{
1012 /**
Original file line number Diff line number Diff line change 44
55use Illuminate \Console \Command ;
66use Laravel \Passport \Passport ;
7+ use Symfony \Component \Console \Attribute \AsCommand ;
78
9+ #[AsCommand(name: 'passport:install ' )]
810class InstallCommand extends Command
911{
1012 /**
Original file line number Diff line number Diff line change 77use Laravel \Passport \Passport ;
88use phpseclib \Crypt \RSA as LegacyRSA ;
99use phpseclib3 \Crypt \RSA ;
10+ use Symfony \Component \Console \Attribute \AsCommand ;
1011
12+ #[AsCommand(name: 'passport:keys ' )]
1113class KeysCommand extends Command
1214{
1315 /**
Original file line number Diff line number Diff line change 55use Illuminate \Console \Command ;
66use Illuminate \Support \Carbon ;
77use Laravel \Passport \Passport ;
8+ use Symfony \Component \Console \Attribute \AsCommand ;
89
10+ #[AsCommand(name: 'passport:purge ' )]
911class PurgeCommand extends Command
1012{
1113 /**
You can’t perform that action at this time.
0 commit comments