From 9c264366a8c45b65e08b7514044a20e9282cee8b Mon Sep 17 00:00:00 2001 From: Emma De Silva Date: Mon, 29 Sep 2025 20:54:27 +0200 Subject: [PATCH] Update Laravel Herd documentation --- RELEASE_NOTES.md | 2 +- docs/creating-content/managing-assets.md | 4 ++++ docs/extensions/realtime-compiler.md | 6 +++++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index a3c0442660d..698ec871c88 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -146,7 +146,7 @@ This serves two purposes: - Simplified the asset file locator to only serve files from the media source directory in https://github.com/hydephp/develop/pull/2012 - Added Vite HMR support in https://github.com/hydephp/develop/pull/2016 -- Added experimental Laravel Herd support in https://github.com/hydephp/develop/pull/2227 +- Added Laravel Herd support in https://github.com/hydephp/develop/pull/2227 #### HydeFront diff --git a/docs/creating-content/managing-assets.md b/docs/creating-content/managing-assets.md index 475ad5ca4b9..97444410c16 100644 --- a/docs/creating-content/managing-assets.md +++ b/docs/creating-content/managing-assets.md @@ -66,6 +66,10 @@ You can check if the Vite HMR server is running with `Vite::running()`, and you @endif ``` +### Laravel Herd + +If using Laravel Herd for HydePHP, you can still use Vite by running `npm run dev`. The Herd integration is in public beta, please report any issues to https://github.com/hydephp/realtime-compiler. + ## Additional Information and Answers to Common Questions ### Is NodeJS/NPM Required for Using Hyde? diff --git a/docs/extensions/realtime-compiler.md b/docs/extensions/realtime-compiler.md index 78bdd2ab3af..f31944cac94 100644 --- a/docs/extensions/realtime-compiler.md +++ b/docs/extensions/realtime-compiler.md @@ -125,7 +125,7 @@ The live editor plugin code will not be saved to your static site. #### Usage -Since HydePHP v2 (Realtime Compiler v4), HydePHP has an experimental integration with [Herd](https://herd.laravel.com/) to provide a seamless development experience. The realtime compiler includes a custom Valet driver that allows Herd to serve your HydePHP site. +Since HydePHP v2 (Realtime Compiler v4), HydePHP has a new integration with [Herd](https://herd.laravel.com/) to provide a seamless development experience. The realtime compiler includes a custom Valet driver that allows Herd to serve your HydePHP site. To install the Valet driver for Herd, run the following command: @@ -135,6 +135,10 @@ php hyde herd:install This will copy the HydeValetDriver to your Herd configuration directory, allowing Herd to automatically serve your HydePHP site. +To use this with Vite, run `npm run dev` and the Herd server will pick it up. + +>info The Herd integration is in public beta, please report any issues to https://github.com/hydephp/realtime-compiler. + #### Features When using the Herd integration, you get the following benefits: