{"id":2461,"date":"2025-07-18T07:17:12","date_gmt":"2025-07-18T07:17:12","guid":{"rendered":"https:\/\/itnotes.apjsoftwares.in\/?p=2461"},"modified":"2025-07-18T07:55:12","modified_gmt":"2025-07-18T07:55:12","slug":"what-is-laravel-valet","status":"publish","type":"post","link":"https:\/\/itnotes.apjsoftwares.in\/index.php\/2025\/07\/18\/what-is-laravel-valet\/","title":{"rendered":"What is Laravel Valet?"},"content":{"rendered":"\n<p><strong>Laravel Valet<\/strong> 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.<\/p>\n\n\n\n<p>It runs very fast and uses Nginx under the hood. You don&#8217;t need to manually set up Apache, edit host files, or configure a virtual machine like Homestead.<\/p>\n\n\n\n<p>Instead, Valet lets you &#8220;park&#8221; a directory. Any Laravel project you put inside this directory will automatically get a <code>.test<\/code> domain and work in the browser.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u2705 <strong>Answer in Hindi (\u0938\u093e\u0927\u093e\u0930\u0923 \u092d\u093e\u0937\u093e \u092e\u0947\u0902 \u0935\u093f\u0938\u094d\u0924\u093e\u0930 \u0938\u0947)<\/strong><\/h3>\n\n\n\n<p><strong>Laravel Valet<\/strong> \u090f\u0915 development \u091f\u0942\u0932 \u0939\u0948 \u091c\u094b macOS \u0914\u0930 Linux \u0915\u0947 \u0932\u093f\u090f \u092c\u0928\u093e\u092f\u093e \u0917\u092f\u093e \u0939\u0948\u0964 \u0907\u0938\u0915\u0940 \u092e\u0926\u0926 \u0938\u0947 \u0906\u092a Laravel \u092f\u093e \u0915\u093f\u0938\u0940 \u092d\u0940 PHP \u092a\u094d\u0930\u094b\u091c\u0947\u0915\u094d\u091f \u0915\u094b \u0905\u092a\u0928\u0947 computer \u092e\u0947\u0902 \u092c\u093f\u0928\u093e \u0915\u093f\u0938\u0940 heavy setup \u0915\u0947 \u0924\u0947\u091c\u093c\u0940 \u0938\u0947 \u091a\u0932\u093e \u0938\u0915\u0924\u0947 \u0939\u0948\u0902\u0964<\/p>\n\n\n\n<p>Valet Nginx \u0914\u0930 DnsMasq \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0930\u0924\u093e \u0939\u0948 \u091c\u093f\u0938\u0938\u0947 Laravel \u092a\u094d\u0930\u094b\u091c\u0947\u0915\u094d\u091f \u0938\u0940\u0927\u0947 <code>.test<\/code> domain \u092a\u0930 accessible \u0939\u094b \u091c\u093e\u0924\u093e \u0939\u0948\u0964<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u2705 <strong>Real-World Example:<\/strong><\/h4>\n\n\n\n<p>Suppose you have a Laravel project called <code>schoolapp<\/code>.<\/p>\n\n\n\n<ol>\n<li>You keep it in a folder like <code>\/Users\/yourname\/Code<\/code>.<\/li>\n\n\n\n<li>You run:<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-preformatted\">bashCopyEdit<code>cd ~\/Code\nvalet park\n<\/code><\/pre>\n\n\n\n<p>Now any project in this folder will work in browser as:<br>\ud83d\udc49 <code>http:\/\/schoolapp.test<\/code><\/p>\n\n\n\n<p>No need to do virtual host configuration.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Laravel Valet is a development environment made for macOS and Linux that makes it very&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[36],"tags":[],"_links":{"self":[{"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/posts\/2461"}],"collection":[{"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/comments?post=2461"}],"version-history":[{"count":1,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/posts\/2461\/revisions"}],"predecessor-version":[{"id":2462,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/posts\/2461\/revisions\/2462"}],"wp:attachment":[{"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/media?parent=2461"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/categories?post=2461"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/tags?post=2461"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}