Laravel Herd

Documentation for macOS

Serving Sites

#
Serving Sites

Herd uses the concept of "parked" paths for serving sites.
Once a directory has been "parked" with Herd, all of the directories within that directory will be accessible in your web browser at http://<directory-name>.test.

By default, Herd will automatically park the ~/Herd directory for you. If you migrated from Valet, Herd will also serve sites from all of your parked Valet paths.

That's all there is to it. Now, any application you create within your "parked" directory will automatically be served using the http://<directory-name>.test convention. Herd supports a wide variety of individual drivers to automatically bootstrap your sites. These drivers support Laravel, but also many other frameworks and applications.

#
Via the CLI

If you prefer to use the CLI, you can use the herd park and herd link commands to park and link a path. These commands work the same way as the valet park and valet link commands. You can read more about them in the Valet documentation.

$ cd ~/Sites
$ herd park