Skip to content
Discussion options

You must be logged in to vote

I've sorted it out with help from Sebastian from BeyondCode! Here's exactly what I did:

  1. In ~/Library/Application Support/Herd/config/valet/ I created a new directory called Drivers (as it did not yet exist).
  2. In Drivers I added a new file called DemoValetDriver.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 in ValetDriver.php.
  3. I copied/pasted the documentation's example driver code into DemoValetDriver.php and made the following adjustments:
    • Added <?php to the top of the file.
    • Changed CustomLaravelValetDriver on line 7 to DemoValetDriver.
    • Changed all insta…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@InforPsico
Comment options

@marcamos
Comment options

@InforPsico
Comment options

@marcamos
Comment options

Answer selected by marcamos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants