File tree Expand file tree Collapse file tree 4 files changed +8
-1
lines changed Expand file tree Collapse file tree 4 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 27
27
"require" : {
28
28
"php" : " ^7.3|~8.0.0|~8.1.0|~8.2.0|~8.3.0" ,
29
29
"ext-json" : " *" ,
30
- "laravel/framework" : " ^8.74|^9.0|^10.0|^11.0"
30
+ "laravel/framework" : " ^8.74|^9.0|^10.0|^11.0" ,
31
+ "symfony/console" : " ^5.3|^6.0|^7.0"
31
32
},
32
33
"require-dev" : {
33
34
"roave/security-advisories" : " dev-master" ,
Original file line number Diff line number Diff line change 3
3
namespace Inertia \Commands ;
4
4
5
5
use Illuminate \Console \GeneratorCommand ;
6
+ use Symfony \Component \Console \Attribute \AsCommand ;
6
7
use Symfony \Component \Console \Input \InputOption ;
7
8
9
+ #[AsCommand(name: 'inertia:middleware ' )]
8
10
class CreateMiddleware extends GeneratorCommand
9
11
{
10
12
/**
Original file line number Diff line number Diff line change 5
5
use Inertia \Ssr \SsrException ;
6
6
use Illuminate \Console \Command ;
7
7
use Inertia \Ssr \BundleDetector ;
8
+ use Symfony \Component \Console \Attribute \AsCommand ;
8
9
use Symfony \Component \Process \Process ;
9
10
11
+ #[AsCommand(name: 'inertia:start-ssr ' )]
10
12
class StartSsr extends Command
11
13
{
12
14
/**
Original file line number Diff line number Diff line change 3
3
namespace Inertia \Commands ;
4
4
5
5
use Illuminate \Console \Command ;
6
+ use Symfony \Component \Console \Attribute \AsCommand ;
6
7
8
+ #[AsCommand(name: 'inertia:stop-ssr ' )]
7
9
class StopSsr extends Command
8
10
{
9
11
/**
You can’t perform that action at this time.
0 commit comments