{"id":6618,"date":"2017-10-25T13:00:02","date_gmt":"2017-10-25T13:00:02","guid":{"rendered":"https:\/\/weblizar.com\/blog\/?p=6618"},"modified":"2017-10-30T09:38:48","modified_gmt":"2017-10-30T09:38:48","slug":"how-to-install-laravel-steps-followed","status":"publish","type":"post","link":"https:\/\/weblizar.com\/blog\/how-to-install-laravel-steps-followed\/","title":{"rendered":"How to Install Laravel &#8211; Steps to be Followed"},"content":{"rendered":"<p>Laravel is one of the PHP frameworks. It was released in 2011.\u00a0It is based on <a href=\"https:\/\/weblizar.com\/blog\/?s=MVC\" target=\"_blank\" rel=\"noopener\">MVC<\/a> (\u00a0Model View Controller ) architecture. Laravel is\u00a0powerful, provide powerful tools that needed for large, robust applications. Laravel has features that make the development process a pleasing one for the developer without sacrificing application functionality.<\/p>\n<p>Advantage of using Laravel Framework<\/p>\n<ul>\n<li>Rapid development using the libraries and tools provided by the Laravel<\/li>\n<li>Easy to upgrade and maintain the developed applications<\/li>\n<li>Security features such as Input filtering and Output encoding<\/li>\n<\/ul>\n<p><span style=\"text-decoration: underline;\"><strong>Suggested Post:<\/strong><\/span>\u00a0<a title=\"Top PHP Frameworks \u2013 Everything You Need To Know\" href=\"https:\/\/weblizar.com\/blog\/top-php-frameworks-everything-need-know\/\" target=\"_blank\" rel=\"noopener\">Top PHP Frameworks \u2013 Everything You Need To Know<\/a><\/p>\n<p>In this blog, we explain how to install Laravel. Before we go further, we need to check that our\u00a0server meets the following requirements:<\/p>\n<ul>\n<li>PHP &gt;= 5.6<\/li>\n<li>OpenSSL PHP Extension<\/li>\n<li>PDO PHP Extension<\/li>\n<li>Mbstring PHP Extension<\/li>\n<li>Tokenizer PHP Extension<\/li>\n<li>XML PHP Extension<\/li>\n<\/ul>\n<p>We are installing Lavavel 5.2.31.<\/p>\n<p><strong>Step 1<\/strong>:\u00a0Laravel uses <em>composer\u00a0<\/em>to handle the dependencies. So, first let us <a href=\"https:\/\/getcomposer.org\/download\/\" target=\"_blank\" rel=\"noopener\">download the composer<\/a>.<\/p>\n<p><strong>Step 2<\/strong>: To verify composer is installed properly, open command prompt or terminal and type: <strong>composer<\/strong>,\u00a0this will show composer&#8217;s version number and composer&#8217;s \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0command list, if installed properly.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6621\" src=\"https:\/\/weblizar.com\/blog\/wp-content\/uploads\/2017\/10\/Capture-1.png\" alt=\"\" width=\"1594\" height=\"859\" \/><\/p>\n<p><strong>Step 3<\/strong>:\u00a0Now, navigate to &#8220;htdocs&#8221; (in case of XAMPP) or &#8220;www&#8221; (in case of WAMP) folder.<\/p>\n<p>&gt;cd xampp\/htdocs ( For XAMPP )<\/p>\n<p>&gt;cd wamp\/www ( For WAMP )<\/p>\n<p><strong>Step 4<\/strong>: Now, to create a new Laravel project, type:<br \/>\n&gt;composer create-project &#8211;prefer-dist laravel\/laravel <strong>project-name<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6627\" src=\"https:\/\/weblizar.com\/blog\/wp-content\/uploads\/2017\/10\/Capture8-1.png\" alt=\"\" width=\"794\" height=\"58\" \/><\/p>\n<p>This will download the Laravel and it&#8217;s all dependencies and create directory &#8220;project-name&#8221;, which contains Laravel project files.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6628\" src=\"https:\/\/weblizar.com\/blog\/wp-content\/uploads\/2017\/10\/Capture9-1.png\" alt=\"\" width=\"1290\" height=\"730\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6629\" src=\"https:\/\/weblizar.com\/blog\/wp-content\/uploads\/2017\/10\/Capture10-1.png\" alt=\"\" width=\"1293\" height=\"829\" \/><\/p>\n<p><strong>Step 5<\/strong>: After successfully installation of Laravel, open browser window and just type <strong>localhost\/project-name\/public<\/strong>,\u00a0this will show default screen of Laravel.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6626\" src=\"https:\/\/weblizar.com\/blog\/wp-content\/uploads\/2017\/10\/Capture7-1.png\" alt=\"\" width=\"1599\" height=\"829\" \/><\/p>\n<p>So easy isn&#8217;t it? That&#8217;s how the installation is going to end but the main task starts upon starting to code on Laravel\u00a0since it is not as easy as installing Laravel.<\/p>\n<p>Laravel is an outstanding PHP framework which is very rare since it is a new technology and has its cons and pros. Being so unique in itself, Laravel is way more secure than any other <a href=\"https:\/\/weblizar.com\/blog\/php-framework-for-web-development-2016\/\" target=\"_blank\" rel=\"noopener\">PHP frameworks available<\/a>.<\/p>\n<p>Stay tuned to our blog as more Laravel blogs are coming your way.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Laravel is one of the PHP frameworks. It was released in 2011.\u00a0It is based on MVC (\u00a0Model View Controller ) architecture. Laravel is\u00a0powerful, provide powerful tools that needed for large, robust applications. Laravel has features that make the development process a pleasing one for the developer without sacrificing application functionality. Advantage of using Laravel Framework<\/p>\n","protected":false},"author":5,"featured_media":6632,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[1022],"tags":[1027,1023,1024,1028,1025,1026,1029],"class_list":["post-6618","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-laravel","tag-how-to-install-laravel","tag-install-laravel","tag-laravel-framework","tag-laravel-php-framework","tag-laravel-tips","tag-laravel-tricks","tag-top-php-framework"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install Laravel - Steps to be Followed - Weblizar Blog<\/title>\n<meta name=\"description\" content=\"Laravel is a top class PHP framework which is way more secure when compared to all the other available PHP frameworks. Let&#039;s see how to install Laravel.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/weblizar.com\/blog\/how-to-install-laravel-steps-followed\/\" \/>\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 - Steps to be Followed - Weblizar Blog\" \/>\n<meta property=\"og:description\" content=\"Laravel is a top class PHP framework which is way more secure when compared to all the other available PHP frameworks. Let&#039;s see how to install Laravel.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/weblizar.com\/blog\/how-to-install-laravel-steps-followed\/\" \/>\n<meta property=\"og:site_name\" content=\"Weblizar Blog\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/www.facebook.com\/weblizarwp\" \/>\n<meta property=\"article:published_time\" content=\"2017-10-25T13:00:02+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-10-30T09:38:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/weblizar.com\/blog\/wp-content\/uploads\/2017\/10\/How-to-Install-Laravel.jpg?fit=900%2C563&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"900\" \/>\n\t<meta property=\"og:image:height\" content=\"563\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Danish Ansari\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@weblizar\" \/>\n<meta name=\"twitter:site\" content=\"@weblizar\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Danish Ansari\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install Laravel - Steps to be Followed - Weblizar Blog","description":"Laravel is a top class PHP framework which is way more secure when compared to all the other available PHP frameworks. Let's see how to install Laravel.","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:\/\/weblizar.com\/blog\/how-to-install-laravel-steps-followed\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Laravel - Steps to be Followed - Weblizar Blog","og_description":"Laravel is a top class PHP framework which is way more secure when compared to all the other available PHP frameworks. Let's see how to install Laravel.","og_url":"https:\/\/weblizar.com\/blog\/how-to-install-laravel-steps-followed\/","og_site_name":"Weblizar Blog","article_publisher":"http:\/\/www.facebook.com\/weblizarwp","article_published_time":"2017-10-25T13:00:02+00:00","article_modified_time":"2017-10-30T09:38:48+00:00","og_image":[{"width":900,"height":563,"url":"https:\/\/i0.wp.com\/weblizar.com\/blog\/wp-content\/uploads\/2017\/10\/How-to-Install-Laravel.jpg?fit=900%2C563&ssl=1","type":"image\/jpeg"}],"author":"Danish Ansari","twitter_card":"summary_large_image","twitter_creator":"@weblizar","twitter_site":"@weblizar","twitter_misc":{"Written by":"Danish Ansari","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/weblizar.com\/blog\/how-to-install-laravel-steps-followed\/#article","isPartOf":{"@id":"https:\/\/weblizar.com\/blog\/how-to-install-laravel-steps-followed\/"},"author":{"name":"Danish Ansari","@id":"https:\/\/weblizar.com\/blog\/#\/schema\/person\/d317218747ba5e5aa51886062ac0b628"},"headline":"How to Install Laravel &#8211; Steps to be Followed","datePublished":"2017-10-25T13:00:02+00:00","dateModified":"2017-10-30T09:38:48+00:00","mainEntityOfPage":{"@id":"https:\/\/weblizar.com\/blog\/how-to-install-laravel-steps-followed\/"},"wordCount":362,"commentCount":0,"image":{"@id":"https:\/\/weblizar.com\/blog\/how-to-install-laravel-steps-followed\/#primaryimage"},"thumbnailUrl":"https:\/\/weblizar.com\/blog\/wp-content\/uploads\/2017\/10\/How-to-Install-Laravel.jpg","keywords":["how to install laravel","install laravel","laravel framework","laravel php framework","laravel tips","laravel tricks","top php framework"],"articleSection":["Laravel"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/weblizar.com\/blog\/how-to-install-laravel-steps-followed\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/weblizar.com\/blog\/how-to-install-laravel-steps-followed\/","url":"https:\/\/weblizar.com\/blog\/how-to-install-laravel-steps-followed\/","name":"How to Install Laravel - Steps to be Followed - Weblizar Blog","isPartOf":{"@id":"https:\/\/weblizar.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/weblizar.com\/blog\/how-to-install-laravel-steps-followed\/#primaryimage"},"image":{"@id":"https:\/\/weblizar.com\/blog\/how-to-install-laravel-steps-followed\/#primaryimage"},"thumbnailUrl":"https:\/\/weblizar.com\/blog\/wp-content\/uploads\/2017\/10\/How-to-Install-Laravel.jpg","datePublished":"2017-10-25T13:00:02+00:00","dateModified":"2017-10-30T09:38:48+00:00","author":{"@id":"https:\/\/weblizar.com\/blog\/#\/schema\/person\/d317218747ba5e5aa51886062ac0b628"},"description":"Laravel is a top class PHP framework which is way more secure when compared to all the other available PHP frameworks. Let's see how to install Laravel.","breadcrumb":{"@id":"https:\/\/weblizar.com\/blog\/how-to-install-laravel-steps-followed\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/weblizar.com\/blog\/how-to-install-laravel-steps-followed\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/weblizar.com\/blog\/how-to-install-laravel-steps-followed\/#primaryimage","url":"https:\/\/weblizar.com\/blog\/wp-content\/uploads\/2017\/10\/How-to-Install-Laravel.jpg","contentUrl":"https:\/\/weblizar.com\/blog\/wp-content\/uploads\/2017\/10\/How-to-Install-Laravel.jpg","width":900,"height":563,"caption":"How to Install Laravel - Steps to be Followed"},{"@type":"BreadcrumbList","@id":"https:\/\/weblizar.com\/blog\/how-to-install-laravel-steps-followed\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/weblizar.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install Laravel &#8211; Steps to be Followed"}]},{"@type":"WebSite","@id":"https:\/\/weblizar.com\/blog\/#website","url":"https:\/\/weblizar.com\/blog\/","name":"Weblizar Blog","description":"Update yourself with all the latest tech news revolving around wordpress all at one place","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/weblizar.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/weblizar.com\/blog\/#\/schema\/person\/d317218747ba5e5aa51886062ac0b628","name":"Danish Ansari","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/8578053f8112ac6a0c136fbc87a10af48375433622bcb3df612e573bd2513ef6?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/8578053f8112ac6a0c136fbc87a10af48375433622bcb3df612e573bd2513ef6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/8578053f8112ac6a0c136fbc87a10af48375433622bcb3df612e573bd2513ef6?s=96&d=mm&r=g","caption":"Danish Ansari"}}]}},"_links":{"self":[{"href":"https:\/\/weblizar.com\/blog\/wp-json\/wp\/v2\/posts\/6618","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/weblizar.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/weblizar.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/weblizar.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/weblizar.com\/blog\/wp-json\/wp\/v2\/comments?post=6618"}],"version-history":[{"count":0,"href":"https:\/\/weblizar.com\/blog\/wp-json\/wp\/v2\/posts\/6618\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/weblizar.com\/blog\/wp-json\/wp\/v2\/media\/6632"}],"wp:attachment":[{"href":"https:\/\/weblizar.com\/blog\/wp-json\/wp\/v2\/media?parent=6618"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/weblizar.com\/blog\/wp-json\/wp\/v2\/categories?post=6618"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/weblizar.com\/blog\/wp-json\/wp\/v2\/tags?post=6618"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}