Skip to content

Instantly share code, notes, and snippets.

View mitchjam's full-sized avatar

Mitch Jamieson mitchjam

  • Kickfurther
View GitHub Profile
mitchjam / gist:6f478301817771301ede4b93006be88a
Last active May 26, 2020 23:13
Use old versions of PHP with Laravel Valet via Homebrew

Homebrew removes old versions of php

And, since Laravel Valet uses Homebrew in it's valet use php@X.X command,
that means trying to install php@7.1 now breaks because Homebrew removed it from it's core.

To install php@7.1 with Homebrew

We need to tap a barrel that has the php@7.1 formula.

brew tap exolnet/homebrew-deprecated