{"id":8303,"date":"2021-08-25T15:29:47","date_gmt":"2021-08-25T15:29:47","guid":{"rendered":"https:\/\/www.scmgalaxy.com\/tutorials\/?p=8303"},"modified":"2021-08-25T15:32:04","modified_gmt":"2021-08-25T15:32:04","slug":"how-to-install-laravel-step-by-step","status":"publish","type":"post","link":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-install-laravel-step-by-step\/","title":{"rendered":"HOW TO INSTALL LARAVEL (Step by Step)"},"content":{"rendered":"\n<h2 class=\"has-text-align-center wp-block-heading\">Step by Step:-<\/h2>\n\n\n\n<ol class=\"wp-block-list\"><li>Download <strong>git bash<\/strong> from the official site.<\/li><li>Download <strong>composer<\/strong> from the official site.<\/li><li>Go to  <strong>C:\\xampp\\htdocs<\/strong>, Run with <strong>Git Bash Here<\/strong>.<\/li><li>When git bash is open then run this command to create a project name                                                              composer create-project &#8211;prefer-dist laravel\/laravel <strong>YOUR_PROJECT_NAME<\/strong> &#8220;5.6.*&#8221;<\/li><li>Go to <strong>http:\/\/localhost\/phpmyadmin\/ <\/strong>and create a database.<\/li><li>Connect your<strong> project with DB<\/strong> using <strong>.env file<\/strong> =&gt;<strong> DB_DATABASE = YOUR_DB_NAME<\/strong>.<\/li><li>Inside syntax <strong>&#8220;YOUR_PROJECT_NAME&#8221;<\/strong> write your own project name like <strong>Student, Teacher, Doctor,<\/strong> etc.<\/li><li>It takes time to install laravel so <strong>waits<\/strong>, When this installation process is complete, then our path will show.<\/li><li>Then your project will be ready after<strong> that go inside the project and open it with git bash<\/strong>.<\/li><li>Write some commands in git bash inside the project name(like here :-<strong> \/c\/xampp\/htdocs\/SCHOOL<\/strong>)                            <strong>php artisan c:cache<\/strong> press enter.                                                                                                                                      <strong>php artisan r:clear<\/strong>  press enter.                                                                                                                                        <strong>php artisan v:clear<\/strong> press enter.<\/li><li>Open with <strong>vscode<\/strong> &#8220;<strong>project name<\/strong>&#8220;.<\/li><li>In vscode go to <strong>terminal-&gt;new+terminal<\/strong>.<\/li><li>Write command:-<strong> php artisan make:auth<\/strong>  insert some files in                                                                                               <strong>app-&gt;http-&gt;controllers-&gt;auth<\/strong>  for<strong> user login and register<\/strong> in laravel <strong>wlecome.blade.php <\/strong>.<\/li><li>Write command<strong> php artisan migrate<\/strong> this will create a predefined table.<\/li><li>Write command<strong>  php artisan serve<\/strong> &#8220;running applications on the PHP development server&#8221;,and it gives an URL link or IP no. Run IP no into the browser. It will give users to the welcome.blade.php page of laravel.<\/li><\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Step by Step:- Download git bash from the official site. Download composer from the official site. Go to C:\\xampp\\htdocs, Run [&hellip;]<\/p>\n","protected":false},"author":34,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[5049],"tags":[6500,1122,6495,6497,6496,5052,6502,6501,6498,593,6499,213],"class_list":["post-8303","post","type-post","status-publish","format-standard","hentry","category-laravel","tag-easy-way-to-install-laravel","tag-guide","tag-how-to-install-laravel","tag-how-to-install-laravel-in-windows","tag-how-to-install-laravel-step-by-step","tag-laravel","tag-login-and-register-create-in-laravel","tag-login-and-register-in-laravel","tag-php-artisan-in-laravel","tag-process","tag-step-by-step-installation-process-of-laravel","tag-tutorial"],"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 (Step by Step) - 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-step-by-step\/\" \/>\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 (Step by Step) - scmGalaxy\" \/>\n<meta property=\"og:description\" content=\"Step by Step:- Download git bash from the official site. Download composer from the official site. Go to C:xampphtdocs, Run [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-install-laravel-step-by-step\/\" \/>\n<meta property=\"og:site_name\" content=\"scmGalaxy\" \/>\n<meta property=\"article:published_time\" content=\"2021-08-25T15:29:47+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-25T15:32:04+00:00\" \/>\n<meta name=\"author\" content=\"vikashdev 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=\"vikashdev 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-step-by-step\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-install-laravel-step-by-step\\\/\"},\"author\":{\"name\":\"vikashdev k\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/ec4d1004b3acffc7df65899e880c7515\"},\"headline\":\"HOW TO INSTALL LARAVEL (Step by Step)\",\"datePublished\":\"2021-08-25T15:29:47+00:00\",\"dateModified\":\"2021-08-25T15:32:04+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-install-laravel-step-by-step\\\/\"},\"wordCount\":257,\"commentCount\":0,\"keywords\":[\"easy way to install laravel\",\"Guide\",\"how to install laravel\",\"how to install laravel in windows\",\"how to install laravel step by step\",\"laravel\",\"login and register create in laravel\",\"login and register in laravel\",\"php artisan in laravel\",\"Process\",\"step by step installation process of laravel\",\"Tutorial\"],\"articleSection\":[\"Laravel\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-install-laravel-step-by-step\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-install-laravel-step-by-step\\\/\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-install-laravel-step-by-step\\\/\",\"name\":\"HOW TO INSTALL LARAVEL (Step by Step) - scmGalaxy\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\"},\"datePublished\":\"2021-08-25T15:29:47+00:00\",\"dateModified\":\"2021-08-25T15:32:04+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/ec4d1004b3acffc7df65899e880c7515\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-install-laravel-step-by-step\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-install-laravel-step-by-step\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-install-laravel-step-by-step\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"HOW TO INSTALL LARAVEL (Step by Step)\"}]},{\"@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\\\/ec4d1004b3acffc7df65899e880c7515\",\"name\":\"vikashdev k\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/738fe2694a5769295d6bbe57066232fcf8351e09ce1090f200c7b34f770fa61b?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/738fe2694a5769295d6bbe57066232fcf8351e09ce1090f200c7b34f770fa61b?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/738fe2694a5769295d6bbe57066232fcf8351e09ce1090f200c7b34f770fa61b?s=96&d=mm&r=g\",\"caption\":\"vikashdev k\"},\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/author\\\/vikashdev\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"HOW TO INSTALL LARAVEL (Step by Step) - 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-step-by-step\/","og_locale":"en_US","og_type":"article","og_title":"HOW TO INSTALL LARAVEL (Step by Step) - scmGalaxy","og_description":"Step by Step:- Download git bash from the official site. Download composer from the official site. Go to C:xampphtdocs, Run [&hellip;]","og_url":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-install-laravel-step-by-step\/","og_site_name":"scmGalaxy","article_published_time":"2021-08-25T15:29:47+00:00","article_modified_time":"2021-08-25T15:32:04+00:00","author":"vikashdev k","twitter_card":"summary_large_image","twitter_misc":{"Written by":"vikashdev k","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-install-laravel-step-by-step\/#article","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-install-laravel-step-by-step\/"},"author":{"name":"vikashdev k","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/ec4d1004b3acffc7df65899e880c7515"},"headline":"HOW TO INSTALL LARAVEL (Step by Step)","datePublished":"2021-08-25T15:29:47+00:00","dateModified":"2021-08-25T15:32:04+00:00","mainEntityOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-install-laravel-step-by-step\/"},"wordCount":257,"commentCount":0,"keywords":["easy way to install laravel","Guide","how to install laravel","how to install laravel in windows","how to install laravel step by step","laravel","login and register create in laravel","login and register in laravel","php artisan in laravel","Process","step by step installation process of laravel","Tutorial"],"articleSection":["Laravel"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.scmgalaxy.com\/tutorials\/how-to-install-laravel-step-by-step\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-install-laravel-step-by-step\/","url":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-install-laravel-step-by-step\/","name":"HOW TO INSTALL LARAVEL (Step by Step) - scmGalaxy","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website"},"datePublished":"2021-08-25T15:29:47+00:00","dateModified":"2021-08-25T15:32:04+00:00","author":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/ec4d1004b3acffc7df65899e880c7515"},"breadcrumb":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-install-laravel-step-by-step\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.scmgalaxy.com\/tutorials\/how-to-install-laravel-step-by-step\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-install-laravel-step-by-step\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.scmgalaxy.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"HOW TO INSTALL LARAVEL (Step by Step)"}]},{"@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\/ec4d1004b3acffc7df65899e880c7515","name":"vikashdev k","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/738fe2694a5769295d6bbe57066232fcf8351e09ce1090f200c7b34f770fa61b?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/738fe2694a5769295d6bbe57066232fcf8351e09ce1090f200c7b34f770fa61b?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/738fe2694a5769295d6bbe57066232fcf8351e09ce1090f200c7b34f770fa61b?s=96&d=mm&r=g","caption":"vikashdev k"},"url":"https:\/\/www.scmgalaxy.com\/tutorials\/author\/vikashdev\/"}]}},"_links":{"self":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/8303","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\/34"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/comments?post=8303"}],"version-history":[{"count":3,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/8303\/revisions"}],"predecessor-version":[{"id":8306,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/8303\/revisions\/8306"}],"wp:attachment":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/media?parent=8303"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/categories?post=8303"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/tags?post=8303"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}