Laravel Valet is a development environment made for macOS and Linux that makes it very easy to run Laravel and other PHP applications on your local computer.
It runs very fast and uses Nginx under the hood. You don’t need to manually set up Apache, edit host files, or configure a virtual machine like Homestead.
Instead, Valet lets you “park” a directory. Any Laravel project you put inside this directory will automatically get a .test
domain and work in the browser.
✅ Answer in Hindi (साधारण भाषा में विस्तार से)
Laravel Valet एक development टूल है जो macOS और Linux के लिए बनाया गया है। इसकी मदद से आप Laravel या किसी भी PHP प्रोजेक्ट को अपने computer में बिना किसी heavy setup के तेज़ी से चला सकते हैं।
Valet Nginx और DnsMasq का उपयोग करता है जिससे Laravel प्रोजेक्ट सीधे .test
domain पर accessible हो जाता है।
✅ Real-World Example:
Suppose you have a Laravel project called schoolapp
.
- You keep it in a folder like
/Users/yourname/Code
. - You run:
bashCopyEditcd ~/Code
valet park
Now any project in this folder will work in browser as:
👉 http://schoolapp.test
No need to do virtual host configuration.