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:
Laravel Herd v1.11 Main Features
Forge Integration – Integrate directly with Forge and deploy applications via the UI
Share Configuration With Your Team – share project configuration via a Herd.yml file
Profiler – profile applications with the SPX profiler using herd profile
Reverb TLS Support – Reverb TLS support with the click of a checkbox
Dump UI Improvements – Dump queries, HTTP requests, logs, and more directly in Herd
Forge Integration
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!
Sharing Configuration With Herd.yml
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.
Profiler
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.
Profiler example from the Herd documentation
Here’s an example of profiling Artisan commands via the Herd CLI:
herd profile artisan my-command
Dump UI Improvements
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.
Learn More
You can learn more about Herd’s features in the official documentation.
The post Laravel Herd Adds Forge Integration, Dump Updates, and More in v1.11 appeared first on Laravel News.
Join the Laravel Newsletter to get all the latest
Laravel articles like this directly in your inbox.
Source: Read MoreÂ