You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -169,6 +166,21 @@ Valet ships with and installs these services:
169
166
>
170
167
> For both commands, valet automatically appends the config file location as a flag to the command, so ngrok will already know where the config file is.
171
168
169
+
As of v3.2.0, Valet no longer ships with the executables for the following services, instead they will be downloaded and installed automatically from GitHub's API. This is so that the latest versions with bug fixes and security updates can be installed.
> `nginx` has changed some of the config options in v1.25.1, due to this, valet will run a site config check to detect if any of the site.conf needs upgrading. Valet will then automatically remove any of the old conf files and re-isolate/re-secure the sites with the updated configurations.
181
+
>
182
+
> Theses upgrades are only for `http2` and `http2_push_preload` options. Any future changes from `nginx` will be need to be upgraded in Valet internally as and when they arise, please submit an [issue](https://github.com/yCodeTech/valet-windows/issues/new?template=nginx-config-upgrade.md).
183
+
172
184
## Installation
173
185
174
186
Before installation, make sure that no other programs such as Apache or Nginx are binding to your local machine's port 80. If XAMPP or similar is installed make sure they don't have Windows services installed and change their ports.
@@ -500,10 +512,43 @@ php:which Determine which PHP version the current working directory is u
500
512
```console
501
513
$ valet php:which
502
514
The current working directory site1 is using PHP 7.4.33 (isolated)
515
+
The executable is located at: C:/php/7.4/php.exe
503
516
504
517
$ valet php:which site2
505
518
The specified site site2 is using PHP 8.1.8 (default)
519
+
The executable is located at: C:/php/8.1/php.exe
520
+
```
521
+
522
+
<imgalign="center"src="./The_same_icon.svg"style="width:20px;"> This command is the same as the Mac version, just renamed.
523
+
524
+
##### php:proxy
525
+
506
526
```
527
+
php:proxy Proxy PHP commands with a site's PHP executable
528
+
phpCommand Command to run with the site's PHP executable
529
+
[--site=] Optionally, specify a site instead of the current working directory
530
+
```
531
+
532
+
`php` is a command alias.
533
+
534
+
```console
535
+
$ valet php:proxy -v
536
+
537
+
Proxying the command to PHP 8.2.9 at C:/php/8.2/php.exe
538
+
539
+
PHP 8.2.9 (cli) (built: Aug 1 2023 12:41:16) (NTS Visual C++ 2019 x64)
Proxying the command to PHP 7.4.9 c:/php/7.4/php.exe
547
+
548
+
Hello
549
+
```
550
+
551
+
<imgalign="center"src="./The_same_icon.svg"style="width:20px;"> This command is the same as the Mac version.
507
552
508
553
##### xdebug:install
509
554
@@ -1432,15 +1477,16 @@ Commands that have been tested and made parity:
1432
1477
- [x] link
1433
1478
- [x] links
1434
1479
- [x] log
1435
-
- [ ] loopback - not applicable
1480
+
- [ ] loopback (the localhost IP) - not applicable
1436
1481
- [x] on-latest-version
1437
1482
- [x] open
1438
1483
- [x] park
1439
1484
- [x] parked
1440
1485
- [x] paths
1441
-
- [] php (proxying commands to PHP CLI) - Possible far future feature?
1486
+
- [x] php (proxying commands to PHP CLI) - renamed to `php:proxy` with alias of `php`
1442
1487
- [x] proxies
1443
1488
- [x] proxy
1489
+
- [ ] renew (Renews all domains with a trusted TLS certificate) - TBD
1444
1490
- [x] restart
1445
1491
- [x] secure
1446
1492
- [x] secured
@@ -1479,9 +1525,9 @@ The `install` command confirmation question about uninstalling the outdated cret
1479
1525
Doesn't affect valet functionality.
1480
1526
1481
1527
</td>
1482
-
<td>3.1.0</td>
1483
-
<td>3.2.0</td>
1484
-
<td>✗</td>
1528
+
<td align="center">3.1.0</td>
1529
+
<td align="center">3.2.0</td>
1530
+
<td align="center">✓</td>
1485
1531
</tr>
1486
1532
<table>
1487
1533
<!--
@@ -1536,9 +1582,13 @@ Upon installation, Valet creates the following directories and config files:
1536
1582
1537
1583
-`~/.config/valet/Services`
1538
1584
Contains the Nginx and PHP config and executable files to be able to run them as Windows services. These files are rebuilt when running the `install` command.
1585
+
1539
1586
-`~/.config/valet/Sites`
1540
1587
Contains all of the symbolic links for any `link`ed sites.
1541
1588
1589
+
-`~/.config/valet/stubs`
1590
+
A user-created directory to contain custom stubs. Only used in Valet if it exists, and overrides Valet's internal stubs.
0 commit comments