Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions valet.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ php=php@8.2

Once this file has been created, you may simply execute the `valet use` command and the command will determine the site's preferred PHP version by reading the file.

Alternatively Valet listens to the php requirement in your `composer.json`, executing the `valet use` or `valet isolate` command will determine the site's preferred PHP version using the php require.

> [!WARNING]
> Valet only serves one PHP version at a time, even if you have multiple PHP versions installed.

Expand Down