Laravel
Laravel News
Laravel Herd released v1.11 this week, a significant update that includes Laravel Forge integration, sharing Herd project configuration across a team, a convenient profiler integration, and more:
Herd.yml
fileherd profile
Herd now has direct integration with Laravel Forge, enabling you to deploy your site directly from Herd, open an SSH connection on the server, or even open your site on forge.laravel.com. Head over to the documentation to learn more!
With Herd v1.11, you can share project configuration with your team using a Herd.yml
file in the root of your project. You can configure the project name, domain aliases, PHP version, and SSL certificates.
You set up the Herd.yml
using the herd init
command. If your project doesn't have the file, the init
command prompts you through the setup process. Pro users can also define services in the Herd.yml
file.
When a new developer clones your project, running herd init
will get them up and running immediately, and all developers will have the same setup. Projects can configure the Forge server and site IDs to share site configurations with all developers.
Check out the Herd documentation to learn all about Sharing project configurations.
The Herd v1.11 update is available immediately on macOS, with the Windows release happening soon.
Herd v1.11 has a new profiler for identifying performance issues in your code. Herd makes profile requests, CLI scripts, and long-running tasks seamless.
Here's an example of profiling Artisan commands via the Herd CLI:
herd profile artisan my-command
Herd's dump debugging features a new custom PHP extension that makes using dd()
and dump()
automatic. You can also configure Herd to dump queries, HTTP requests, views, jobs, and logs.
You can learn more about Herd's features in the official documentation.
The post Laravel Herd v1.11 Adds Forge Integration, Dump Updates, and More in v1.11 appeared first on Laravel News.
Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.