Closed yCodeTech closed 1 year ago
Patch 2 improves Patch 1 from damsfx (adds PHP version to valet links command output):
valet links
valet parked
New command:
php:which
$ valet parked +-----------------------------------------+ | Site: site1 | | Alias: | | SSL: | | PHP: 8.0.17 (default) | | URL: http://site1.local/ | | Alias URL: | | Path: D:\_Sites\site1 | +-----------------------------------------+ | Site: another_site | | Alias: site2 | | SSL: | | PHP: 7.4.33 (isolated) | | URL: http://another_site.local/ | | Alias URL: http://site2.local/ | | Path: D:\_Sites\another_site | +-----------------------------------------+
D:_Sites\another_site $ valet php:which This site site2 is using PHP 7.4.33 (isolated)
Patch 2 improves Patch 1 from damsfx (adds PHP version to
valet links
command output):valet parked
:New command:
php:which
- To determine which PHP version the current working directory is using. If the site has an alias, it uses the alias in the output.D:_Sites\another_site $ valet php:which This site site2 is using PHP 7.4.33 (isolated)