Good news for Laravel Developers who use MacOS for Laravel Development! Yes, just a few days back on the 19th of July, Laracon US Beyond Code introduced “Herd”, a free native macOS app. A one-click PHP development environment that will work on your MacOS without any dependencies. Let’s dig more about Laravel Herd.
Herd is a free, native macOS application that provides a blazing-fast development environment for Laravel and PHP. It includes everything you need to get started, including PHP (versions 7.4 up to 8.3 Alpha), nginx, and dnsmasq.
With Herd, you can quickly and easily create and run Laravel projects on your Mac. All requests to *.test domains will be routed to the correct site installed on your local machine. This makes it easy to test your Laravel applications locally without having to worry about setting up a web server or configuring DNS. It uses static binaries for PHP, nginx, and dnsmasq, which makes it significantly faster than other PHP development environments. This means that you can start developing Laravel applications faster and get feedback on your changes more quickly.
To install Herd on your Mac visit its official website herd.laravel.com and from there you can download Herd for free.
After downloading, open the disk Image and drag the application into your /Applications folder.
Launch it to follow the setup instructions. You can setup it from scratch or you can import the configurations from Laravel Valet.
You don’t need to install Homebrew (a package manager). As we said in the beginning, Herd works fine without any dependencies. Herd supports the following versions of PHP…
moreover, Herd offers UI to manage your local sites (secure them via SSL and change or update the PHP version for each).
Herd includes the following extensions:
As you can see the above list includes almost all the extensions except “Xdebug”. As Herd’s PHP binaries are compiled statically, it is not possible to install additional new extensions.
Herd is a Laravel and PHP development environment that is built on top of Valet. This means that you can easily migrate from Valet to Herd without having to make any major changes to your configuration.
When you install Herd for the first time, it will detect if you are already running Valet. If you are, Herd will automatically migrate all of your existing Valet settings, isolated sites, and SSL certificates to Herd. This means that you can start using Herd right away without having to worry about setting up anything new.
If you ever need to switch back to Valet, you can simply quit Herd and start Valet again. Herd does not have any dependencies, so there is no need to uninstall it or make any changes to your system.
Last but not the least!!!
Laravel Herd is a great development environment for Laravel, but it has some limitations.
In this article, we introduced you to Herd, a new Laravel and PHP development environment that is blazingly fast and easy to use. Also shown you how to migrate from Laravel Valet to Herd. It can be a great replacement for Valet. It is faster, more secure, and easier to use. I highly recommend giving Herd a try if you are looking for a new Laravel and PHP development environment for your Mac.
These are many other useful web frameworks used by software developers to create spectacular
Subscribe to our newsletter and learn about the latest digital trends.