Setting up a local development environment can be a time taking hassle—whether it's using Docker or manual installations. Laravel Herd...
Setting up a local development environment can be a time taking hassle—whether it's using Docker or manual installations.
Laravel Herd changes that! It’s a native app for both Windows & macOS that comes with everything you need to get started: PHP
, nginx
, Node.js
, Dnsmasq
. If you upgrade to Herd Pro, you also get MySQL, PostgreSQL, Redis, and even testing and debugging tools.
In this article, we’ll explore FREE Laravel Herd and show you how to set up MySQL + phpMyAdmin manually to complement Herd’s FREE version.
I love Herd because it’s designed to be a “plug-and-play” solution. Once installed, you can enjoy the entire development stack without the hassle of multiple installations or dealing with your system's services or configs.
It takes care of local site routing with *.test
domains. For example, if you create a Laravel project named my-app
, you can access it directly via http://my-app.test
.
No DNS setup. No complicated configurations. Just smooth, efficient development.
What I Love the Most:
PHP
and Node
version update notifications.nvm
, switching via terminal or Herd UI.Installing Laravel Herd is simple. If you’re running macOS 10.14+ or Windows 10+, here’s how to get it up and running:
php --version
laravel --version
composer --version
node --version
That's it! You now have a full PHP Laravel development environment ready to go.
Note: Before installing Herd, make sure you don’t have conflicting services running in the background that use the same ports as Herd (like port 80 for web or 3306 for MySQL).
MySQL isn’t included in the free version of Herd, but you can manually set it up and integrate it easily. Here’s how:
brew install mysql
.mysql_secure_installation
.phpMyAdmin
with Herd by running:herd link
# or
herd link custom-domain
This automatically configures hosts and nginx for you. If the folder was named phpmyadmin
, you can now access phpMyAdmin via a .test
domain like http://phpmyadmin.test
.
To secure it with HTTPS, run:
herd secure
No further configuration is needed. Simply login with your MySQL credentials and start managing your databases.
Once Laravel Herd is installed, you can use the following commands to get started:
herd start | stop | restart
herd link | unlink
herd secure | unsecure
herd use [email protected] | node@14
herd expose | stop expose
Did you notice that phpMyAdmin isn't a Laravel web app but still runs perfectly with Herd? That’s because Herd isn’t limited to Laravel development. It supports a wide range of frameworks, including:
If Herd doesn’t support your framework out of the box or you use a custom setup, you can create a custom driver to serve your site with Herd.
Want to enable a specific PHP extension or adjust settings like memory limits? You can easily access the php.ini
file. Just go to Herd Settings > PHP, right-click on the PHP version you’re using, and you’ll find the php.ini
option in the context menu. You can also adjust things like memory_limit
and max_upload_size
from the same window.
Laravel Herd simplifies your local Laravel setup, giving you a lightweight, powerful, and easy-to-manage development environment. Whether you’re building Laravel apps, WordPress websites or Magento e-commerce—Herd has everything you need for smooth, hassle-free development.
Download Herd, set it up, and start coding with no fuss! 🚀
Subscribe to our "Article Digest". We'll send you a list of the new articles, every week, month or quarter - your choice.
What do you think about this?
Wondering what our community has been up to?