[Feature Request]: Sharing Sites On Your Local Network #357
Replies: 6 comments 10 replies
-
That would be awesome. I have the same problem and always need to switch to MAMP for local testing. The Expose Function is as well not an option for me… |
Beta Was this translation helpful? Give feedback.
-
This is the one thing preventing me from uninstalling Valet and using only Herd. I work with mobile development and need to access my Lavarel application API endpoints on my local network. With Valet I can access this via my local network IP address I.E http://192.168.8.8/contours.test/api/v1. I haven't been able to find a way to do this with Herd yet unless i've missed something in the documentation. |
Beta Was this translation helpful? Give feedback.
-
Ok just realised I can open up local network IP address the same as Valet by editing
changing
to
|
Beta Was this translation helpful? Give feedback.
-
Removing "127.0.0.1:" prefix doesn't solves all issues because the URL responds always with "404" if a device's hosts file is not modified by adding a rule for "application_name.test".
There are three $SERVER variables that from the development machine have different values than from other devices and when the check for HTTP_HOST is done an URL like "http://192.168.1.15/application_name.test" is not verified successfully because the "$siteName" is "192.168.1.15" and not "application_name.test" and then Valet refuses to procede because it doesn't find the right folder. You can fix this case with one of those cases:
|
Beta Was this translation helpful? Give feedback.
-
I am writing to request the implementation of a fundamental feature: the ability to share websites within a local network (LAN). This functionality would be decisive in my decision to upgrade to the Pro version of the software.
I am convinced that this functionality would not only benefit my team but also many other professionals working under similar conditions, especially in regions where Internet infrastructure is not optimal. |
Beta Was this translation helpful? Give feedback.
-
Feature Description
Feature Description
The
herd share
suites are for public sharing and do not support linking to local resources.The development build with
npm run dev
is not available through the expose tunnel.From the original Valet feature: https://laravel.com/docs/master/valet#sharing-sites-on-your-local-network
The feature allows you to share sites on your local network, making it easier to set up development environments with real-time access on mobile or other network-accessible devices.
Is this feature valuable for other users as well and why?
Assets building with hot reload will be available for all local accessible devices.
Is this feature valuable for other users as well and why
Development with a real device is a special pleasure 📱🌴
Beta Was this translation helpful? Give feedback.
All reactions