File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ let hasVendor = projectPathExists("vendor/autoload.php");
28
28
const hasBootstrap = projectPathExists ( "bootstrap/app.php" ) ;
29
29
30
30
let phpEnvKey : PhpEnvironment | null = null ;
31
- const phpEnvsThatUseRelativePaths : PhpEnvironment [ ] = [ "sail" ] ;
31
+ const phpEnvsThatUseRelativePaths : PhpEnvironment [ ] = [ "sail" , "lando" ] ;
32
32
33
33
export const initVendorWatchers = ( ) => {
34
34
// fs.readdirSync(internalVendorPath()).forEach((file) => {
@@ -117,6 +117,11 @@ const getPhpCommand = (): string => {
117
117
command : "./vendor/bin/sail php" ,
118
118
} ) ;
119
119
120
+ options . set ( "lando" , {
121
+ check : "lando info" ,
122
+ command : "lando ssh -c 'php {code}'" ,
123
+ } ) ;
124
+
120
125
for ( const [ key , option ] of options . entries ( ) ) {
121
126
if ( phpEnv !== "auto" && phpEnv !== key ) {
122
127
continue ;
You can’t perform that action at this time.
0 commit comments