{"id":1895,"date":"2023-11-22T01:25:53","date_gmt":"2023-11-22T00:25:53","guid":{"rendered":"https:\/\/hoganhost.com.ng\/blog\/?p=1895"},"modified":"2024-08-12T13:22:21","modified_gmt":"2024-08-12T12:22:21","slug":"how-to-install-laravel","status":"publish","type":"post","link":"https:\/\/hoganhost.com.ng\/blog\/laravel\/how-to-install-laravel\/","title":{"rendered":"How to Install Laravel"},"content":{"rendered":"<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignleft wp-image-1899\" src=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2023\/11\/How-to-Install-Laravel-300x300.jpg\" alt=\"\" width=\"458\" height=\"458\" srcset=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2023\/11\/How-to-Install-Laravel-300x300.jpg 300w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2023\/11\/How-to-Install-Laravel-1024x1024.jpg 1024w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2023\/11\/How-to-Install-Laravel-150x150.jpg 150w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2023\/11\/How-to-Install-Laravel-768x768.jpg 768w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2023\/11\/How-to-Install-Laravel.jpg 1080w\" sizes=\"(max-width: 458px) 100vw, 458px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Here\u2019s a comprehensive guide on how to install the\u00a0<a href=\"https:\/\/laravel.com\/\">Laravel PHP framework<\/a>\u00a0on your server.<\/p>\n<h2 id=\"Introduction\" class=\"wp-block-heading\">Introduction<\/h2>\n<p>As a favorite amongst PHP developers, Laravel boasts of an elegant syntax and streamlined development processes. Here, we\u2019ll guide you through the installation process so that you can start developing directly on your server.<\/p>\n<h2 id=\"prerequisites\" class=\"wp-block-heading\">Prerequisites<\/h2>\n<p>Before you dive into Laravel, make sure your server meets the following requirements:<\/p>\n<ul>\n<li>PHP version of 8.1 or higher.\n<ul>\n<li>PHP extensions required: BCMath, Ctype, cURL, DOM, Fileinfo, JSON, Mbstring, OpenSSL, PCRE, PDO, Tokenizer, and XML.<\/li>\n<\/ul>\n<\/li>\n<li>A web server such as\u00a0<a href=\"https:\/\/httpd.apache.org\/\">Apache<\/a>\u00a0or\u00a0<a href=\"https:\/\/www.nginx.com\/\">Nginx<\/a>.<\/li>\n<li>A database management system such as\u00a0<a href=\"https:\/\/www.mysql.com\/\">MySQL<\/a>,\u00a0<a href=\"https:\/\/mariadb.com\/\">MariaDB<\/a>, or\u00a0<a href=\"https:\/\/www.postgresql.org\/\">PostgreSQL<\/a>.<\/li>\n<li><a href=\"https:\/\/getcomposer.org\/\">Composer<\/a>\u00a0installed. Laravel uses Composer as a package manager to manage its dependencies.<\/li>\n<\/ul>\n<p>We\u2019re going to help you check that you have all prerequisites installed. If you don\u2019t, we\u2019ll link you to documentation to help install them, ensuring a smooth Laravel installation process.<\/p>\n<h3 class=\"wp-block-heading\">PHP Version<\/h3>\n<p>Check to see if you have the required PHP 8.1 (or above) installed as the system default for your server by running\u00a0<code>php -v<\/code>\u00a0which should output the version.<\/p>\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-hl-loaded cbp-ff-loaded\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\">\n<pre class=\"shiki github-dark copy-the-code-target\" tabindex=\"0\"><code><span class=\"line\">PHP 8.1.23 (cli) (built: Sep 13 2023 02:57:29) (NTS)<\/span>\r\n<span class=\"line\">Copyright (c) The PHP Group<\/span>\r\n<span class=\"line\">Zend Engine v4.1.23, Copyright (c) Zend Technologies<\/span>\r\n<span class=\"line\">    with Zend OPcache v8.1.23, Copyright (c), by Zend Technologies<\/span><\/code><\/pre>\n<\/div>\n<p>If you need to install a newer PHP version and\/or PHP extensions, for servers with cPanel you can\u00a0Upgrade PHP using EasyApache 4.<\/p>\n<h3 class=\"wp-block-heading\">Web Server<\/h3>\n<p>To check to see if you are running a web server and the version, in your server\u2019s terminal run\u00a0<code>httpd -v<\/code>\u00a0for Apache or\u00a0<code>nginx -v<\/code>\u00a0for Nginx.<\/p>\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-hl-loaded cbp-ff-loaded\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\">\n<p>&nbsp;<\/p>\n<pre class=\"shiki github-dark copy-the-code-target\" tabindex=\"0\"><code><span class=\"line\">$ httpd -v<\/span>\r\n<span class=\"line\">Server version: Apache\/2.4.57 (cPanel)<\/span>\r\n<span class=\"line\">Server built:   Sep 12 2023 20:22:59<\/span><\/code>&lt;<\/pre>\n<\/div>\n<p>&nbsp;<\/p>\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-hl-loaded cbp-ff-loaded\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\">\n<pre class=\"shiki github-dark copy-the-code-target\" tabindex=\"0\"><code><span class=\"line\">$ nginx -v<\/span>\r\n<span class=\"line\">nginx version: nginx\/1.23.4 (imh_ngx_20230406)<\/span><\/code><\/pre>\n<\/div>\n<h3 class=\"wp-block-heading\">Composer<\/h3>\n<p>To check to see if Composer is installed on your server by running\u00a0<code>composer -V<\/code>\u00a0in your server\u2019s terminal which should produce output similar to this<\/p>\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-hl-loaded cbp-ff-loaded\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\">\n<pre class=\"shiki github-dark copy-the-code-target\" tabindex=\"0\"><code><span class=\"line\">Composer version 2.4.4 2022-10-27 14:39:29<\/span><\/code><\/pre>\n<\/div>\n<p>If\u00a0<code>Composer<\/code>\u00a0is not installed on your server, you can install it locally for your project or globally by visiting the\u00a0<a href=\"https:\/\/getcomposer.org\/doc\/00-intro.md#installation-linux-unix-macos\">Composer Installation Documentation<\/a>.<\/p>\n<h2 id=\"laravel-installer\" class=\"wp-block-heading\">Use Laravel Installer to Create a Project<\/h2>\n<p>The Laravel Installer is a tool that provides a streamlined method for creating a fresh Laravel project. It\u2019s a convenient alternative to the traditional method of\u00a0installing Laravel through Composer. By using the Laravel Installer, users can swiftly initialize a new Laravel application by executing a simple command in their terminal or command prompt. This simplifies the process, making it more efficient and user-friendly, especially for those who frequently work with Laravel projects. The installer downloads the latest version of Laravel, sets up all the directories and permissions, and makes the application ready for development.<\/p>\n<p>If you prefer to create a Laravel project with the default configuration that you can modify later, you can quickly\u00a0Create a New Laravel Project with Composer.<\/p>\n<p>As the user for the account that you want to install Laravel, use Composer to install the Laravel Installer.<\/p>\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-hl-loaded cbp-ff-loaded\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\">\n<pre class=\"shiki github-dark copy-the-code-target\" tabindex=\"0\"><code><span class=\"line\">composer global require laravel\/installer --update-with-all-dependencies<\/span><\/code><\/pre>\n<\/div>\n<p>You want to make sure that you add\u00a0<code>$HOME\/.config\/composer\/vendor\/bin<\/code>\u00a0to your\u00a0<code>PATH<\/code>\u00a0so the Laravel executable is found when you run the Laravel command to create a new project.<\/p>\n<p>For Bash, you can automatically add this to your\u00a0<code>$HOME\/.bashrc<\/code>\u00a0file by typing the following<\/p>\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-hl-loaded cbp-ff-loaded\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\">\n<pre class=\"shiki github-dark copy-the-code-target\" tabindex=\"0\"><code><span class=\"line\">echo 'export PATH=\"$PATH:$HOME\/.config\/composer\/vendor\/bin\"' &gt;&gt; ~\/.bashrc<\/span><\/code><\/pre>\n<\/div>\n<p>You can either log out and back in or run\u00a0<code>source ~\/.bashrc<\/code>\u00a0for the changes to take effect<\/p>\n<h3 class=\"wp-block-heading\">Create a New Laravel Project<\/h3>\n<p>Now that you successfully set up the Laravel Installer, you can use the\u00a0<code>laravel<\/code>\u00a0command to create a new Laravel project. Navigate to the document root of the target domain and start the Laravel installer with\u00a0<code>your_project_name<\/code>\u00a0being a name of your choice for the project.<\/p>\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-hl-loaded cbp-ff-loaded\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\">\n<pre class=\"shiki github-dark copy-the-code-target\" tabindex=\"0\"><code><span class=\"line\">laravel new your_project_name<\/span><\/code><\/pre>\n<\/div>\n<p>This will create the directory\u00a0<code>your_project_name<\/code>\u00a0and start the installer.<\/p>\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-hl-loaded cbp-ff-loaded\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\">\n<pre class=\"shiki github-dark copy-the-code-target\" tabindex=\"0\"><code><span class=\"line\">   _                               _<\/span>\r\n<span class=\"line\">  | |                             | |<\/span>\r\n<span class=\"line\">  | |     __ _ _ __ __ ___   _____| |<\/span>\r\n<span class=\"line\">  | |    \/ _` | '__\/ _` \\ \\ \/ \/ _ \\ |<\/span>\r\n<span class=\"line\">  | |___| (_| | | | (_| |\\ V \/  __\/ |<\/span>\r\n<span class=\"line\">  |______\\__,_|_|  \\__,_| \\_\/ \\___|_|<\/span>\r\n\r\n\r\n<span class=\"line\"> \u250c Would you like to install a starter kit? \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<\/span>\r\n<span class=\"line\"> \u2502 \u203a \u25cf No starter kit                                           \u2502<\/span>\r\n<span class=\"line\"> \u2502   \u25cb Laravel Breeze                                           \u2502<\/span>\r\n<span class=\"line\"> \u2502   \u25cb Laravel Jetstream                                        \u2502<\/span>\r\n<span class=\"line\"> \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<\/span><\/code><\/pre>\n<\/div>\n<p><a href=\"https:\/\/laravel.com\/docs\/10.x\/starter-kits\">Laravel\u2019s documentation<\/a>\u00a0provides detailed information on Starter Kits.<\/p>\n<h2 id=\"new-laravel-project\" class=\"wp-block-heading\">Create a New Laravel Project with Composer<\/h2>\n<p>For a simpler and quicker alternative to using the\u00a0Laravel Installer, you can use the\u00a0<code>composer<\/code>\u00a0command to create a new project. Navigate to the empty document root of the domain you want Laravel installed and initiate your project.<\/p>\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-hl-loaded cbp-ff-loaded\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\">\n<pre class=\"shiki github-dark copy-the-code-target\" tabindex=\"0\"><code><span class=\"line\">composer create-project laravel\/laravel .<\/span><\/code><\/pre>\n<\/div>\n<p>Once that completes, you should see the default Laravel files in the current working directory.<\/p>\n<p>If you see an error stating that the directory is not empty<\/p>\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-hl-loaded cbp-ff-loaded\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\">\n<pre class=\"shiki github-dark copy-the-code-target\" tabindex=\"0\"><code>                                                                                                                              \r\n<span class=\"line\">Project directory \"\/home\/producthub\/laraveltest.product-content-hub.com\/lartest\/test-project\/test-project\/.\" is not empty.  <\/span>\r\n                                                                                                                              <\/code><\/pre>\n<\/div>\n<p>Make sure there aren\u2019t any hidden files that may be blocking the installation by running\u00a0<code>ls -lah<\/code>\u00a0to list all files (including hidden files) and directories within your current working directory.<\/p>\n<h2 class=\"wp-block-heading\">Viewing your New Laravel Installation<\/h2>\n<p>To be able to see the default Laravel installation page by visiting your domain, add the following to your\u00a0<code>.htaccess<\/code>\u00a0file in your domain\u2019s document root to make sure that your website is being served from Laravel\u2019s\u00a0<code>\/public<\/code>\u00a0directory.<\/p>\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-hl-loaded cbp-ff-loaded\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\">\n<pre class=\"shiki github-dark copy-the-code-target\" tabindex=\"0\"><code><span class=\"line\">&lt;IfModule mod_rewrite.c&gt;<\/span>\r\n<span class=\"line\">RewriteEngine On<\/span>\r\n<span class=\"line\">RewriteRule ^(.*)$ public\/$1 [L]<\/span>\r\n<span class=\"line\">&lt;\/IfModule&gt;<\/span><\/code><\/pre>\n<\/div>\n<p>If you installed Laravel into a subdirectory using the Laravel Installer, you can either move the installed files and directories to the domain\u2019s document root or you can add the following to your .htaccess file in your domain\u2019s document root (replacing\u00a0<code>your_project_name<\/code>\u00a0with the actual directory that Laravel was installed):<\/p>\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-hl-loaded cbp-ff-loaded\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\">\n<pre class=\"shiki github-dark copy-the-code-target\" tabindex=\"0\"><code><span class=\"line\">&lt;IfModule mod_rewrite.c&gt;<\/span>\r\n<span class=\"line\">RewriteEngine On<\/span>\r\n<span class=\"line\">RewriteRule ^(.*)$ your_project_name\/public\/$1 [L]<\/span>\r\n<span class=\"line\">&lt;\/IfModule&gt;<\/span><\/code><\/pre>\n<\/div>\n<p>You should now be able to view your Laravel installation by visiting your domain in your web browser.<\/p>\n<p><img decoding=\"async\" class=\"alignleft wp-image-1897\" src=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2023\/11\/image-1536x825-1-300x161.png\" alt=\"\" width=\"842\" height=\"452\" srcset=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2023\/11\/image-1536x825-1-300x161.png 300w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2023\/11\/image-1536x825-1-1024x550.png 1024w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2023\/11\/image-1536x825-1-768x413.png 768w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2023\/11\/image-1536x825-1.png 1536w\" sizes=\"(max-width: 842px) 100vw, 842px\" \/><\/p>\n<figure class=\"wp-block-image size-large\"><\/figure>\n<h2 id=\"conclusion\" class=\"wp-block-heading\">Conclusion<\/h2>\n<p>Now that you have installed Laravel and confirmed that it was successful, you can begin building your project! The\u00a0<code>.env<\/code>\u00a0file contains different\u00a0<a href=\"https:\/\/laravel.com\/docs\/10.x\/configuration#environment-configuration\">environment configuration<\/a>\u00a0values such as database information and application URL that can be edited to fit the needs of your new project.<\/p>\n<p>Check out our web hosting service\u00a0<a href=\"https:\/\/hoganhost.com.ng\/\">hoganhost.com.ng<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Here\u2019s a comprehensive guide on how to install the\u00a0Laravel [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1899,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[63],"tags":[],"class_list":["post-1895","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-laravel"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Install Laravel - HoganHost blog<\/title>\n<meta name=\"description\" content=\"As a favorite amongst PHP developers, Laravel boasts of an elegant syntax and streamlined development processes. Here, we\u2019ll guide\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hoganhost.com.ng\/blog\/laravel\/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 - HoganHost blog\" \/>\n<meta property=\"og:description\" content=\"As a favorite amongst PHP developers, Laravel boasts of an elegant syntax and streamlined development processes. Here, we\u2019ll guide\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hoganhost.com.ng\/blog\/laravel\/how-to-install-laravel\/\" \/>\n<meta property=\"og:site_name\" content=\"HoganHost blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/facebook.com\/HoganHost\" \/>\n<meta property=\"article:published_time\" content=\"2023-11-22T00:25:53+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-12T12:22:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2023\/11\/How-to-Install-Laravel.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1080\" \/>\n\t<meta property=\"og:image:height\" content=\"1080\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Abigal okon\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@hoganhostng\" \/>\n<meta name=\"twitter:site\" content=\"@hoganhostng\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Abigal okon\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/laravel\/how-to-install-laravel\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/laravel\/how-to-install-laravel\/\"},\"author\":{\"name\":\"Abigal okon\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/person\/af16a18c6cc966b92a6cb13b500f3f0a\"},\"headline\":\"How to Install Laravel\",\"datePublished\":\"2023-11-22T00:25:53+00:00\",\"dateModified\":\"2024-08-12T12:22:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/laravel\/how-to-install-laravel\/\"},\"wordCount\":837,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/laravel\/how-to-install-laravel\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2023\/11\/How-to-Install-Laravel.jpg\",\"articleSection\":[\"Laravel\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/hoganhost.com.ng\/blog\/laravel\/how-to-install-laravel\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/laravel\/how-to-install-laravel\/\",\"url\":\"https:\/\/hoganhost.com.ng\/blog\/laravel\/how-to-install-laravel\/\",\"name\":\"How to Install Laravel - HoganHost blog\",\"isPartOf\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/laravel\/how-to-install-laravel\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/laravel\/how-to-install-laravel\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2023\/11\/How-to-Install-Laravel.jpg\",\"datePublished\":\"2023-11-22T00:25:53+00:00\",\"dateModified\":\"2024-08-12T12:22:21+00:00\",\"description\":\"As a favorite amongst PHP developers, Laravel boasts of an elegant syntax and streamlined development processes. Here, we\u2019ll guide\",\"breadcrumb\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/laravel\/how-to-install-laravel\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/hoganhost.com.ng\/blog\/laravel\/how-to-install-laravel\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/laravel\/how-to-install-laravel\/#primaryimage\",\"url\":\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2023\/11\/How-to-Install-Laravel.jpg\",\"contentUrl\":\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2023\/11\/How-to-Install-Laravel.jpg\",\"width\":1080,\"height\":1080},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/laravel\/how-to-install-laravel\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/hoganhost.com.ng\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Laravel\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#website\",\"url\":\"https:\/\/hoganhost.com.ng\/blog\/\",\"name\":\"HoganHost blog\",\"description\":\"Keeping you connected to everything from HoganHost\",\"publisher\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/hoganhost.com.ng\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#organization\",\"name\":\"HoganHost\",\"url\":\"https:\/\/hoganhost.com.ng\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2022\/09\/hogan-host.png\",\"contentUrl\":\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2022\/09\/hogan-host.png\",\"width\":466,\"height\":387,\"caption\":\"HoganHost\"},\"image\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/facebook.com\/HoganHost\",\"https:\/\/x.com\/hoganhostng\",\"https:\/\/instagram.com\/officialhoganhost\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/person\/af16a18c6cc966b92a6cb13b500f3f0a\",\"name\":\"Abigal okon\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ef2272070d016c06ee69b30adce7c4e4b4faaa5c899c4b9224a5b1a43b1fb8d0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ef2272070d016c06ee69b30adce7c4e4b4faaa5c899c4b9224a5b1a43b1fb8d0?s=96&d=mm&r=g\",\"caption\":\"Abigal okon\"},\"sameAs\":[\"https:\/\/hoganhost.com.ng\/blog\"],\"url\":\"https:\/\/hoganhost.com.ng\/blog\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install Laravel - HoganHost blog","description":"As a favorite amongst PHP developers, Laravel boasts of an elegant syntax and streamlined development processes. Here, we\u2019ll guide","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:\/\/hoganhost.com.ng\/blog\/laravel\/how-to-install-laravel\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Laravel - HoganHost blog","og_description":"As a favorite amongst PHP developers, Laravel boasts of an elegant syntax and streamlined development processes. Here, we\u2019ll guide","og_url":"https:\/\/hoganhost.com.ng\/blog\/laravel\/how-to-install-laravel\/","og_site_name":"HoganHost blog","article_publisher":"https:\/\/facebook.com\/HoganHost","article_published_time":"2023-11-22T00:25:53+00:00","article_modified_time":"2024-08-12T12:22:21+00:00","og_image":[{"width":1080,"height":1080,"url":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2023\/11\/How-to-Install-Laravel.jpg","type":"image\/jpeg"}],"author":"Abigal okon","twitter_card":"summary_large_image","twitter_creator":"@hoganhostng","twitter_site":"@hoganhostng","twitter_misc":{"Written by":"Abigal okon","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/hoganhost.com.ng\/blog\/laravel\/how-to-install-laravel\/#article","isPartOf":{"@id":"https:\/\/hoganhost.com.ng\/blog\/laravel\/how-to-install-laravel\/"},"author":{"name":"Abigal okon","@id":"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/person\/af16a18c6cc966b92a6cb13b500f3f0a"},"headline":"How to Install Laravel","datePublished":"2023-11-22T00:25:53+00:00","dateModified":"2024-08-12T12:22:21+00:00","mainEntityOfPage":{"@id":"https:\/\/hoganhost.com.ng\/blog\/laravel\/how-to-install-laravel\/"},"wordCount":837,"commentCount":0,"publisher":{"@id":"https:\/\/hoganhost.com.ng\/blog\/#organization"},"image":{"@id":"https:\/\/hoganhost.com.ng\/blog\/laravel\/how-to-install-laravel\/#primaryimage"},"thumbnailUrl":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2023\/11\/How-to-Install-Laravel.jpg","articleSection":["Laravel"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/hoganhost.com.ng\/blog\/laravel\/how-to-install-laravel\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/hoganhost.com.ng\/blog\/laravel\/how-to-install-laravel\/","url":"https:\/\/hoganhost.com.ng\/blog\/laravel\/how-to-install-laravel\/","name":"How to Install Laravel - HoganHost blog","isPartOf":{"@id":"https:\/\/hoganhost.com.ng\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hoganhost.com.ng\/blog\/laravel\/how-to-install-laravel\/#primaryimage"},"image":{"@id":"https:\/\/hoganhost.com.ng\/blog\/laravel\/how-to-install-laravel\/#primaryimage"},"thumbnailUrl":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2023\/11\/How-to-Install-Laravel.jpg","datePublished":"2023-11-22T00:25:53+00:00","dateModified":"2024-08-12T12:22:21+00:00","description":"As a favorite amongst PHP developers, Laravel boasts of an elegant syntax and streamlined development processes. Here, we\u2019ll guide","breadcrumb":{"@id":"https:\/\/hoganhost.com.ng\/blog\/laravel\/how-to-install-laravel\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hoganhost.com.ng\/blog\/laravel\/how-to-install-laravel\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hoganhost.com.ng\/blog\/laravel\/how-to-install-laravel\/#primaryimage","url":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2023\/11\/How-to-Install-Laravel.jpg","contentUrl":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2023\/11\/How-to-Install-Laravel.jpg","width":1080,"height":1080},{"@type":"BreadcrumbList","@id":"https:\/\/hoganhost.com.ng\/blog\/laravel\/how-to-install-laravel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/hoganhost.com.ng\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install Laravel"}]},{"@type":"WebSite","@id":"https:\/\/hoganhost.com.ng\/blog\/#website","url":"https:\/\/hoganhost.com.ng\/blog\/","name":"HoganHost blog","description":"Keeping you connected to everything from HoganHost","publisher":{"@id":"https:\/\/hoganhost.com.ng\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hoganhost.com.ng\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/hoganhost.com.ng\/blog\/#organization","name":"HoganHost","url":"https:\/\/hoganhost.com.ng\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2022\/09\/hogan-host.png","contentUrl":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2022\/09\/hogan-host.png","width":466,"height":387,"caption":"HoganHost"},"image":{"@id":"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/facebook.com\/HoganHost","https:\/\/x.com\/hoganhostng","https:\/\/instagram.com\/officialhoganhost"]},{"@type":"Person","@id":"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/person\/af16a18c6cc966b92a6cb13b500f3f0a","name":"Abigal okon","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/ef2272070d016c06ee69b30adce7c4e4b4faaa5c899c4b9224a5b1a43b1fb8d0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ef2272070d016c06ee69b30adce7c4e4b4faaa5c899c4b9224a5b1a43b1fb8d0?s=96&d=mm&r=g","caption":"Abigal okon"},"sameAs":["https:\/\/hoganhost.com.ng\/blog"],"url":"https:\/\/hoganhost.com.ng\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/posts\/1895","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/comments?post=1895"}],"version-history":[{"count":6,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/posts\/1895\/revisions"}],"predecessor-version":[{"id":1904,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/posts\/1895\/revisions\/1904"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/media\/1899"}],"wp:attachment":[{"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/media?parent=1895"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/categories?post=1895"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/tags?post=1895"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}