Skip to content

Instantly share code, notes, and snippets.

@Kristories
Created March 13, 2022 06:47
Show Gist options
  • Save Kristories/4f38c91f6ecff2e20c961cb881926c6b to your computer and use it in GitHub Desktop.
Save Kristories/4f38c91f6ecff2e20c961cb881926c6b to your computer and use it in GitHub Desktop.

Valet

Brew can install multiple PHP version by command brew install php@version. You can switch Valet to use PHP version by :

valet use php     # switch to default PHP version (based on brew default PHP version)
valet use [email protected] # switch to PHP 7.4
valet use php@8   # switch to PHP 8

Laragon

Visit tutorial

XAMPP

Visit tutorial

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment