DEV Community

Cover image for How to stop Laravel’s Valet asking for password

How to stop Laravel’s Valet asking for password

Edwin Klesman on February 09, 2021

If there is one aspect of Laravel that I like, it’s that it is accompanied by very nice tools. Depending on how you like to develop you can even c...
Collapse
 
dakira profile image
Matthias Niess

Slight security warning: You're giving two commands (brew and valet) full root access to your machine. If an attacker somehow modifies valet.php or homebrew, they can do with your machine whatever they want.

Collapse
 
eekayonline profile image
Edwin Klesman

You're right. That's why I mentioned security in the To conclude part.
As a developer, we always need to decide if the benefit outweighs any risks.
Depending on your setup and the context of the project you're working on, this might be acceptable.

Collapse
 
macx profile image
David Maciejewski

Thanks for the hint!