{"id":8153,"date":"2021-08-21T07:15:57","date_gmt":"2021-08-21T07:15:57","guid":{"rendered":"https:\/\/www.scmgalaxy.com\/tutorials\/?p=8153"},"modified":"2021-08-23T11:52:07","modified_gmt":"2021-08-23T11:52:07","slug":"how-to-install-laravel","status":"publish","type":"post","link":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-install-laravel\/","title":{"rendered":"How to install Laravel ?"},"content":{"rendered":"\n<ol class=\"wp-block-list\"><li>Install composer from <a href=\"http:\/\/getcomposer.org\" target=\"_blank\" rel=\"noreferrer noopener\">getcomposer.org<\/a>0<\/li><li>Then, Download the Laravel installer using Composer: composer global require laravel\/installer<\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">3.Once installed, the\u00a0<code>laravel new<\/code>\u00a0command will create a fresh Laravel installation in the directory you specify. For instance,\u00a0<code>laravel new blog<\/code>\u00a0will create a directory named\u00a0<code>blog<\/code>\u00a0containing a fresh Laravel installation with all of Laravel&#8217;s dependencies already installed :<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nlaravel new blog\n 4.Local Development Server\nIf you have PHP installed locally and you would like to use PHP&#039;s built-in development server to serve your application, you may use the serve Artisan command. This command will start a development server at http:\/\/localhost:8000:\n\nCommand : php artisan serve\n\n\n\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>Install composer from getcomposer.org0 Then, Download the Laravel installer using Composer: composer global require laravel\/installer 3.Once installed, the\u00a0laravel new\u00a0command will [&hellip;]<\/p>\n","protected":false},"author":37,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[1],"tags":[],"class_list":["post-8153","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to install Laravel ? - scmGalaxy<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-install-laravel\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to install Laravel ? - scmGalaxy\" \/>\n<meta property=\"og:description\" content=\"Install composer from getcomposer.org0 Then, Download the Laravel installer using Composer: composer global require laravel\/installer 3.Once installed, the\u00a0laravel new\u00a0command will [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-install-laravel\/\" \/>\n<meta property=\"og:site_name\" content=\"scmGalaxy\" \/>\n<meta property=\"article:published_time\" content=\"2021-08-21T07:15:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-23T11:52:07+00:00\" \/>\n<meta name=\"author\" content=\"rahuldev k\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"rahuldev k\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-install-laravel\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-install-laravel\\\/\"},\"author\":{\"name\":\"rahuldev k\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/1aafb3fa6efbfc2df27d4957cb574e64\"},\"headline\":\"How to install Laravel ?\",\"datePublished\":\"2021-08-21T07:15:57+00:00\",\"dateModified\":\"2021-08-23T11:52:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-install-laravel\\\/\"},\"wordCount\":56,\"commentCount\":0,\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-install-laravel\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-install-laravel\\\/\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-install-laravel\\\/\",\"name\":\"How to install Laravel ? - scmGalaxy\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\"},\"datePublished\":\"2021-08-21T07:15:57+00:00\",\"dateModified\":\"2021-08-23T11:52:07+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/1aafb3fa6efbfc2df27d4957cb574e64\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-install-laravel\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-install-laravel\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-install-laravel\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to install Laravel ?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\",\"name\":\"scmGalaxy\",\"description\":\"A Platform for Software Engineers\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/1aafb3fa6efbfc2df27d4957cb574e64\",\"name\":\"rahuldev k\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d72d40f5bbaeb956e3a753642a8afceab052a0fa8bbf1667d0bb398dca172fe8?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d72d40f5bbaeb956e3a753642a8afceab052a0fa8bbf1667d0bb398dca172fe8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d72d40f5bbaeb956e3a753642a8afceab052a0fa8bbf1667d0bb398dca172fe8?s=96&d=mm&r=g\",\"caption\":\"rahuldev k\"},\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/author\\\/rahuldev\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to install Laravel ? - scmGalaxy","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-install-laravel\/","og_locale":"en_US","og_type":"article","og_title":"How to install Laravel ? - scmGalaxy","og_description":"Install composer from getcomposer.org0 Then, Download the Laravel installer using Composer: composer global require laravel\/installer 3.Once installed, the\u00a0laravel new\u00a0command will [&hellip;]","og_url":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-install-laravel\/","og_site_name":"scmGalaxy","article_published_time":"2021-08-21T07:15:57+00:00","article_modified_time":"2021-08-23T11:52:07+00:00","author":"rahuldev k","twitter_card":"summary_large_image","twitter_misc":{"Written by":"rahuldev k","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-install-laravel\/#article","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-install-laravel\/"},"author":{"name":"rahuldev k","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/1aafb3fa6efbfc2df27d4957cb574e64"},"headline":"How to install Laravel ?","datePublished":"2021-08-21T07:15:57+00:00","dateModified":"2021-08-23T11:52:07+00:00","mainEntityOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-install-laravel\/"},"wordCount":56,"commentCount":0,"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.scmgalaxy.com\/tutorials\/how-to-install-laravel\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-install-laravel\/","url":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-install-laravel\/","name":"How to install Laravel ? - scmGalaxy","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website"},"datePublished":"2021-08-21T07:15:57+00:00","dateModified":"2021-08-23T11:52:07+00:00","author":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/1aafb3fa6efbfc2df27d4957cb574e64"},"breadcrumb":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-install-laravel\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.scmgalaxy.com\/tutorials\/how-to-install-laravel\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-install-laravel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.scmgalaxy.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"How to install Laravel ?"}]},{"@type":"WebSite","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website","url":"https:\/\/www.scmgalaxy.com\/tutorials\/","name":"scmGalaxy","description":"A Platform for Software Engineers","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.scmgalaxy.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/1aafb3fa6efbfc2df27d4957cb574e64","name":"rahuldev k","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/d72d40f5bbaeb956e3a753642a8afceab052a0fa8bbf1667d0bb398dca172fe8?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/d72d40f5bbaeb956e3a753642a8afceab052a0fa8bbf1667d0bb398dca172fe8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d72d40f5bbaeb956e3a753642a8afceab052a0fa8bbf1667d0bb398dca172fe8?s=96&d=mm&r=g","caption":"rahuldev k"},"url":"https:\/\/www.scmgalaxy.com\/tutorials\/author\/rahuldev\/"}]}},"_links":{"self":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/8153","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/users\/37"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/comments?post=8153"}],"version-history":[{"count":2,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/8153\/revisions"}],"predecessor-version":[{"id":8232,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/8153\/revisions\/8232"}],"wp:attachment":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/media?parent=8153"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/categories?post=8153"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/tags?post=8153"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}