-
I feel like I'm 75% of the way to figuring this out, but I've hit a wall with the few things I've tried. In short, a number of my projects are setup as Searching around, I see the concept of custom drivers, but I blank on what to write in it, where to put it, or even why it's so much harder than it was in Valet. Any tips? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
I've sorted it out with help from Sebastian from BeyondCode! Here's exactly what I did:
And that's it! |
Beta Was this translation helpful? Give feedback.
I've sorted it out with help from Sebastian from BeyondCode! Here's exactly what I did:
~/Library/Application Support/Herd/config/valet/
I created a new directory calledDrivers
(as it did not yet exist).Drivers
I added a new file calledDemoValetDriver.php
(I chose "Demo" at the beginning of the file-name because I'll have a few projects that are demos and they'll have this same requirement). It's important that the file-name end inValetDriver.php
.DemoValetDriver.php
and made the following adjustments:<?php
to the top of the file.CustomLaravelValetDriver
on line7
toDemoValetDriver
.