Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Browse all series

Valet Uncovered

Valet has long been the local development environment of choice for Laravel developers on macOS. The way it seamlessly works might even look like magic!

In this CreatorSeries, we'll dig into how to install and use Valet, explore some of its often-missed features, and walk through how the pieces fit together under the hood.

Progress

Series Info

Episodes
16
Run Time
2h 5m
Difficulty
Advanced
Last Updated
Oct 20, 2023
Version
Latest

Series Episodes

  1. The Essentials (13)
    1. Introduction to Valet

      Valet is a macOS tool that installs and configures a suite of other tools to provide you with a local web server for Laravel development and more.
    2. Installing Valet

      In this lesson, we will review how to install Valet on your macOS machine.
    3. Parking Directories and Linking Sites

      Let's next discuss how we can teach Valet where to look for our sites.
    4. Securing Your Valet Sites

      How to use Valet to create SSL certificates for your local sites.
    5. Sharing Your Valet Sites

      How to use ngrok and Expose to put your Valet sites out on the public Internet.
    6. Connecting Valet to Mysql and Other Services

      How to install dependencies like MySQL, Redis, and Postgres and make them connect with your Laravel apps.
    7. Switching and Isolating Php Versions

      How to use Valet's two features (use and isolate) for managing your PHP version.
    8. The Valet Config Files and Folders

      How, and where, to configure Valet and its dependencies.
    9. Log Files in Valet

      How to track the logs for Valet's dependencies using Valet's log feature.
    10. Troubleshooting Valet

      How to approach solving problems and confusing outcomes from Valet and its dependencies.
    11. Custom and Local Drivers in Valet

      How Valet's drivers work, how to create custom drivers, and how to place those custom drivers either globally or per site.
    12. Valet and Docker

      How Valet and Docker can work together in tandem, especially using Valet's proxy feature.
    13. Programmatic Access to Valet

      How to define the site Valet shows when you type a .test with no match, and how to bring in Valet as a Composer package.
  2. Under the Hood (3)
    1. How Http Requests and Cli Calls Work

      How Valet actually works. In this episode we follow an HTTP request the whole way from the browser to the front controller, and a CLI command from the outside in.
    2. Advanced Features

      In this episode we take a look at how the valet use command works.
    3. Advanced Customization of Valet's Dependencies

      A Valet-approved way to make manual changes to Valet's managed dependencies.

Continue Learning