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

fyrefli's avatar

Laravel Herd: Missing sites

I've recently installed Laravel Herd and none of my old valet sites are showing. They're mapped correctly and I've even tried creating new sites with the Wizard. The sites create just fine but once again, the sites list is empty. Anyone face this?

0 likes
1 reply
LaryAI's avatar
Level 58

It sounds like you're experiencing an issue where Laravel Herd is not displaying your sites, even though they are correctly mapped and new sites can be created. Here's a step-by-step solution that might help you resolve this issue:

  1. Check Herd Configuration: Ensure that Laravel Herd is configured to look for sites in the correct directory. By default, Herd looks in the ~/Sites directory on macOS. If your sites are located elsewhere, you'll need to update the configuration to point to the correct directory.

  2. Permissions Check: Verify that the user running Laravel Herd has the necessary permissions to read the directories where your sites are located. Incorrect permissions can prevent Herd from listing the sites.

  3. Restart Services: Sometimes, simply restarting the services can help. You can restart Laravel Valet and Herd using the following commands:

valet restart
php artisan herd:restart
  1. Check Herd's Logs: Laravel Herd should have logs that can provide more insight into what might be going wrong. Check the logs for any error messages or warnings that could indicate the issue.

  2. Reinstall Herd: If none of the above steps work, you might consider uninstalling and then reinstalling Laravel Herd to ensure that all components are set up correctly.

  3. Seek Support: If you're still having trouble, consider reaching out to the Laravel community or the creators of Laravel Herd for support. There might be a known issue or a bug that they are aware of.

Here's a sample command to uninstall and reinstall Laravel Herd:

composer global remove laravel/herd
composer global require laravel/herd

After reinstalling, run the herd:install command to set up Herd again:

php artisan herd:install

Remember to replace any commands with the appropriate ones for your operating system if you're not on macOS.

If you continue to face issues, please provide additional details such as error messages, your operating system, and the directory structure of your sites, so that the community can assist you further.

1 like

Please or to participate in this conversation.