{"id":106766,"date":"2023-10-02T12:00:52","date_gmt":"2023-10-02T16:00:52","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/?p=106766"},"modified":"2024-05-10T12:00:05","modified_gmt":"2024-05-10T16:00:05","slug":"how-to-install-laravel","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/laravel\/how-to-install-laravel\/","title":{"rendered":"How to Install Laravel"},"content":{"rendered":"<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"537\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/09\/install-laravel-1024x537.png\" alt=\"\" class=\"wp-image-106927\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/09\/install-laravel-1024x537.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/09\/install-laravel-300x157.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/09\/install-laravel-768x403.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/09\/install-laravel.png 1050w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<p>Here\u2019s a comprehensive guide on how to install the <a href=\"https:\/\/laravel.com\" target=\"_blank\" rel=\"noreferrer noopener\">Laravel PHP framework<\/a> on your server. <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#Introduction\">Introduction<\/a><\/li>\n\n\n\n<li><a href=\"#prerequisites\">Prerequisites<\/a><\/li>\n\n\n\n<li><a href=\"#laravel-installer\">Use Laravel Installer to Create a Project<\/a><\/li>\n\n\n\n<li><a href=\"#new-laravel-project\">Create a New Laravel Project with Composer<\/a><\/li>\n\n\n\n<li><a href=\"#conclusion\">Conclusion<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Introduction\">Introduction<\/h2>\n\n\n\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\n\n\n<p class=\"alert alert-info\">Choose from our\u00a0<a href=\"https:\/\/www.inmotionhosting.com\/laravel-hosting\">Laravel Hosting<\/a>,\u00a0<a href=\"https:\/\/www.inmotionhosting.com\/vps-hosting\">VPS Hosting<\/a>, or\u00a0<a href=\"https:\/\/www.inmotionhosting.com\/dedicated-servers\">Dedicated Servers<\/a>\u00a0to host your Laravel applications and websites today!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"prerequisites\">Prerequisites<\/h2>\n\n\n\n<p>Before you dive into Laravel, make sure your server meets the following requirements:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>PHP version of 8.1 or higher.\n<ul class=\"wp-block-list\">\n<li>PHP extensions required: BCMath, Ctype, cURL, DOM, Fileinfo, JSON, Mbstring, OpenSSL, PCRE, PDO, Tokenizer, and XML. <\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>A web server such as <a href=\"https:\/\/httpd.apache.org\" target=\"_blank\" rel=\"noreferrer noopener\">Apache<\/a> or <a href=\"https:\/\/www.nginx.com\" target=\"_blank\" rel=\"noreferrer noopener\">Nginx<\/a>.<\/li>\n\n\n\n<li>A database management system such as <a href=\"https:\/\/www.mysql.com\" target=\"_blank\" rel=\"noreferrer noopener\">MySQL<\/a>, <a href=\"https:\/\/mariadb.com\" target=\"_blank\" rel=\"noreferrer noopener\">MariaDB<\/a>, or <a href=\"https:\/\/www.postgresql.org\" target=\"_blank\" rel=\"noreferrer noopener\">PostgreSQL<\/a>.<\/li>\n\n\n\n<li><a href=\"https:\/\/getcomposer.org\" target=\"_blank\" rel=\"noreferrer noopener\">Composer<\/a> installed. Laravel uses Composer as a package manager to manage its dependencies. <\/li>\n<\/ul>\n\n\n\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\n\n\n<h3 class=\"wp-block-heading\">PHP Version<\/h3>\n\n\n\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 <code>php -v<\/code> which should output the version.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:1.25rem;font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.625rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" data-code=\"PHP 8.1.23 (cli) (built: Sep 13 2023 02:57:29) (NTS)\nCopyright (c) The PHP Group\nZend Engine v4.1.23, Copyright (c) Zend Technologies\n    with Zend OPcache v8.1.23, Copyright (c), by Zend Technologies\" style=\"color:#e1e4e8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #79B8FF\">PHP 8.1.23 (cli) (built: Sep 13 2023 02:57:29) (NTS)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Copyright (c) The PHP Group<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Zend Engine v4.1.23, Copyright (c) Zend Technologies<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">    with Zend OPcache v8.1.23, Copyright (c), by Zend Technologies<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>If you need to install a newer PHP version and\/or PHP extensions, for servers with cPanel you can <a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/upgrade-php-easyapache\/\">Upgrade PHP using EasyApache 4<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Web Server<\/h3>\n\n\n\n<p>To check to see if you are running a web server and the version, in your server\u2019s terminal run <code>httpd -v<\/code> for Apache or <code>nginx -v<\/code> for Nginx.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:1.25rem;font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.625rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" data-code=\"$ httpd -v\nServer version: Apache\/2.4.57 (cPanel)\nServer built:   Sep 12 2023 20:22:59\" style=\"color:#e1e4e8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #E1E4E8\">$ httpd -v<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Server version: Apache\/2.4.57 (cPanel)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Server built:   Sep 12 2023 20:22:59<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p><\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:1.25rem;font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.625rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" data-code=\"$ nginx -v\nnginx version: nginx\/1.23.4 (imh_ngx_20230406)\" style=\"color:#e1e4e8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #E1E4E8\">$ nginx -v<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">nginx version: nginx\/1.23.4 (imh_ngx_20230406)<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>If you don\u2019t see a web server installed, please visit our <a href=\"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/\">Apache Tutorials<\/a> and <a href=\"https:\/\/www.inmotionhosting.com\/support\/server\/nginx\/\">Nginx Tutorials<\/a> for installation steps.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Composer<\/h3>\n\n\n\n<p>To check to see if Composer is installed on your server by running <code>composer -V<\/code> in your server\u2019s terminal which should produce output similar to this<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:1.25rem;font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.625rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" data-code=\"Composer version 2.4.4 2022-10-27 14:39:29\" style=\"color:#e1e4e8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #79B8FF\">Composer version 2.4.4 2022-10-27 14:39:29<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>If <code>Composer<\/code> is not installed on your server, you can install it locally for your project or globally by visiting the <a href=\"https:\/\/getcomposer.org\/doc\/00-intro.md#installation-linux-unix-macos\">Composer Installation Documentation<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"laravel-installer\">Use Laravel Installer to Create a Project<\/h2>\n\n\n\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 <a href=\"#new-laravel-project\">installing Laravel through Composer<\/a>. 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\n\n\n<p>If you prefer to create a Laravel project with the default configuration that you can modify later, you can quickly <a href=\"#new-laravel-project\">Create a New Laravel Project with Composer<\/a>.<\/p>\n\n\n\n<p>As the user for the account that you want to install Laravel, use Composer to install the Laravel Installer.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:1.25rem;font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.625rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" data-code=\"composer global require laravel\/installer --update-with-all-dependencies\" style=\"color:#e1e4e8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">composer<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">global<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">require<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">laravel\/installer<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #79B8FF\">--update-with-all-dependencies<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>You want to make sure that you add <code>$HOME\/.config\/composer\/vendor\/bin<\/code> to your <code>PATH<\/code> so the Laravel executable is found when you run the Laravel command to create a new project. <\/p>\n\n\n\n<p>For Bash, you can automatically add this to your <code>$HOME\/.bashrc<\/code> file by typing the following<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:1.25rem;font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.625rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" data-code=\"echo 'export PATH=&quot;$PATH:$HOME\/.config\/composer\/vendor\/bin&quot;' &gt;&gt; ~\/.bashrc\" style=\"color:#e1e4e8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #79B8FF\">echo<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">'export PATH=\"$PATH:$HOME\/.config\/composer\/vendor\/bin\"'<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #F97583\">&gt;&gt;<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">~\/.bashrc<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>You can either log out and back in or run <code>source ~\/.bashrc<\/code> for the changes to take effect<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Create a New Laravel Project<\/h3>\n\n\n\n<p>Now that you successfully set up the Laravel Installer, you can use the <code>laravel<\/code> command to create a new Laravel project. Navigate to the document root of the target domain and start the Laravel installer with <code>your_project_name<\/code> being a name of your choice for the project.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:1.25rem;font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.625rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" data-code=\"laravel new your_project_name\" style=\"color:#e1e4e8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">laravel<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">new<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">your_project_name<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>This will create the directory  <code>your_project_name<\/code> and start the installer.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:1.25rem;font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.625rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" data-code=\"   _                               _\n  | |                             | |\n  | |     __ _ _ __ __ ___   _____| |\n  | |    \/ _` | '__\/ _` \\ \\ \/ \/ _ \\ |\n  | |___| (_| | | | (_| |\\ V \/  __\/ |\n  |______\\__,_|_|  \\__,_| \\_\/ \\___|_|\n\n\n \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\n \u2502 \u203a \u25cf No starter kit                                           \u2502\n \u2502   \u25cb Laravel Breeze                                           \u2502\n \u2502   \u25cb Laravel Jetstream                                        \u2502\n \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\" style=\"color:#e1e4e8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #79B8FF\">   _                               _<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">  | |                             | |<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">  | |     __ _ _ __ __ ___   _____| |<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">  | |    \/ _` | '__\/ _` \\ \\ \/ \/ _ \\ |<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">  | |___| (_| | | | (_| |\\ V \/  __\/ |<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">  |______\\__,_|_|  \\__,_| \\_\/ \\___|_|<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\"> \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><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\"> \u2502 \u203a \u25cf No starter kit                                           \u2502<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\"> \u2502   \u25cb Laravel Breeze                                           \u2502<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\"> \u2502   \u25cb Laravel Jetstream                                        \u2502<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\"> \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><\/span><\/code><\/pre><\/div>\n\n\n\n<p><a href=\"https:\/\/laravel.com\/docs\/10.x\/starter-kits\">Laravel\u2019s documentation<\/a> provides detailed information on Starter Kits. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"new-laravel-project\">Create a New Laravel Project with Composer<\/h2>\n\n\n\n<p>For a simpler and quicker alternative to using the<a href=\"#laravel-installer\"> Laravel Installer<\/a>, you can use the <code>composer<\/code> command to create a new project. Navigate to the empty document root of the domain you want Laravel installed and initiate your project.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:1.25rem;font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.625rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" data-code=\"composer create-project laravel\/laravel .\" style=\"color:#e1e4e8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">composer<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">create-project<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">laravel\/laravel<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">.<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>Once that completes, you should see the default Laravel files in the current working directory. <\/p>\n\n\n\n<p>If you see an error stating that the directory is not empty<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:1.25rem;font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.625rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" data-code=\"                                                                                                                              \nProject directory &quot;\/home\/producthub\/laraveltest.product-content-hub.com\/lartest\/test-project\/test-project\/.&quot; is not empty.  \n                                                                                                                              \" style=\"color:#e1e4e8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #79B8FF\">                                                                                                                              <\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Project directory \"\/home\/producthub\/laraveltest.product-content-hub.com\/lartest\/test-project\/test-project\/.\" is not empty.  <\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">                                                                                                                              <\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>Make sure there aren\u2019t any hidden files that may be blocking the installation by running <code>ls -lah<\/code> to list all files (including hidden files) and directories within your current working directory.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Viewing your New Laravel Installation<\/h2>\n\n\n\n<p>To be able to see the default Laravel installation page by visiting your domain, add the following to your <code>.htaccess<\/code> file in your domain\u2019s document root to make sure that your website is being served from Laravel\u2019s <code>\/public<\/code> directory.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:1.25rem;font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.625rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" data-code=\"&lt;IfModule mod_rewrite.c&gt;\nRewriteEngine On\nRewriteRule ^(.*)$ public\/$1 [L]\n&lt;\/IfModule&gt;\" style=\"color:#e1e4e8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #E1E4E8\">&lt;<\/span><span style=\"color: #B392F0\">IfModule<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">mod_rewrite.c<\/span><span style=\"color: #E1E4E8\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F97583\">RewriteEngine<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #B392F0\">On<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F97583\">RewriteRule<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #DBEDFF\">^(.*)$<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">public\/$1<\/span><span style=\"color: #E1E4E8\"> [L]<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E1E4E8\">&lt;\/<\/span><span style=\"color: #B392F0\">IfModule<\/span><span style=\"color: #E1E4E8\">&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\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 <code>your_project_name<\/code> with the actual directory that Laravel was installed):<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:1.25rem;font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.625rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" data-code=\"&lt;IfModule mod_rewrite.c&gt;\nRewriteEngine On\nRewriteRule ^(.*)$ your_project_name\/public\/$1 [L]\n&lt;\/IfModule&gt;\" style=\"color:#e1e4e8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #E1E4E8\">&lt;<\/span><span style=\"color: #B392F0\">IfModule<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">mod_rewrite.c<\/span><span style=\"color: #E1E4E8\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F97583\">RewriteEngine<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #B392F0\">On<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F97583\">RewriteRule<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #DBEDFF\">^(.*)$<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">your_project_name\/public\/$1<\/span><span style=\"color: #E1E4E8\"> [L]<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E1E4E8\">&lt;\/<\/span><span style=\"color: #B392F0\">IfModule<\/span><span style=\"color: #E1E4E8\">&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>You should now be able to view your Laravel installation by visiting your domain in your web browser.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"550\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/09\/image-1024x550.png\" alt=\"\" class=\"wp-image-106828\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/09\/image-1024x550.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/09\/image-300x161.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/09\/image-768x413.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/09\/image-1536x825.png 1536w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/09\/image.png 1608w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"conclusion\">Conclusion<\/h2>\n\n\n\n<p>Now that you have installed Laravel and confirmed that it was successful, you can begin building your project! The <code>.env<\/code> file contains different <a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/laravel\/understanding-the-laravel-env-file\/\">environment configuration<\/a> values such as database information and application URL that can be edited to fit the needs of your new project. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here&#8217;s a comprehensive guide on how to install the Laravel PHP framework on your server. Introduction As a favorite amongst PHP developers, Laravel boasts of an elegant syntax and streamlined development processes. Here, we&#8217;ll guide you through the installation process so that you can start developing directly on your server. Choose from our&nbsp;Laravel Hosting,&nbsp;VPS Hosting,<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/laravel\/how-to-install-laravel\/\"> Read More ><\/a><\/p>\n","protected":false},"author":57032,"featured_media":106927,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4486],"tags":[],"class_list":["post-106766","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-laravel"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install Laravel | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"Learn to install Laravel using the command line with this concise guide. Quick, straightforward setup for developers.\" \/>\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.inmotionhosting.com\/support\/edu\/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 | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"Learn to install Laravel using the command line with this concise guide. Quick, straightforward setup for developers.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/edu\/laravel\/how-to-install-laravel\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-10-02T16:00:52+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-10T16:00:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/09\/install-laravel.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1050\" \/>\n\t<meta property=\"og:image:height\" content=\"551\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Derrell\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Derrell\" \/>\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:\/\/www.inmotionhosting.com\/support\/edu\/laravel\/how-to-install-laravel\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/laravel\/how-to-install-laravel\/\"},\"author\":{\"name\":\"Derrell\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/0736f70b4077032374f89709cdc255b7\"},\"headline\":\"How to Install Laravel\",\"datePublished\":\"2023-10-02T16:00:52+00:00\",\"dateModified\":\"2024-05-10T16:00:05+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/laravel\/how-to-install-laravel\/\"},\"wordCount\":874,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/laravel\/how-to-install-laravel\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/09\/install-laravel.png\",\"articleSection\":[\"Laravel\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/laravel\/how-to-install-laravel\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/laravel\/how-to-install-laravel\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/laravel\/how-to-install-laravel\/\",\"name\":\"How to Install Laravel | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/laravel\/how-to-install-laravel\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/laravel\/how-to-install-laravel\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/09\/install-laravel.png\",\"datePublished\":\"2023-10-02T16:00:52+00:00\",\"dateModified\":\"2024-05-10T16:00:05+00:00\",\"description\":\"Learn to install Laravel using the command line with this concise guide. Quick, straightforward setup for developers.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/laravel\/how-to-install-laravel\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/laravel\/how-to-install-laravel\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/laravel\/how-to-install-laravel\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/09\/install-laravel.png\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/09\/install-laravel.png\",\"width\":1050,\"height\":551},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/laravel\/how-to-install-laravel\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Laravel\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/0736f70b4077032374f89709cdc255b7\",\"name\":\"Derrell\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/derrell-willis\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/derrellw\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install Laravel | InMotion Hosting","description":"Learn to install Laravel using the command line with this concise guide. Quick, straightforward setup for developers.","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.inmotionhosting.com\/support\/edu\/laravel\/how-to-install-laravel\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Laravel | InMotion Hosting","og_description":"Learn to install Laravel using the command line with this concise guide. Quick, straightforward setup for developers.","og_url":"https:\/\/www.inmotionhosting.com\/support\/edu\/laravel\/how-to-install-laravel\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2023-10-02T16:00:52+00:00","article_modified_time":"2024-05-10T16:00:05+00:00","og_image":[{"width":1050,"height":551,"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/09\/install-laravel.png","type":"image\/png"}],"author":"Derrell","twitter_card":"summary_large_image","twitter_creator":"@InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"Derrell","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/laravel\/how-to-install-laravel\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/laravel\/how-to-install-laravel\/"},"author":{"name":"Derrell","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/0736f70b4077032374f89709cdc255b7"},"headline":"How to Install Laravel","datePublished":"2023-10-02T16:00:52+00:00","dateModified":"2024-05-10T16:00:05+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/laravel\/how-to-install-laravel\/"},"wordCount":874,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/laravel\/how-to-install-laravel\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/09\/install-laravel.png","articleSection":["Laravel"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/laravel\/how-to-install-laravel\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/laravel\/how-to-install-laravel\/","url":"https:\/\/www.inmotionhosting.com\/support\/edu\/laravel\/how-to-install-laravel\/","name":"How to Install Laravel | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/laravel\/how-to-install-laravel\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/laravel\/how-to-install-laravel\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/09\/install-laravel.png","datePublished":"2023-10-02T16:00:52+00:00","dateModified":"2024-05-10T16:00:05+00:00","description":"Learn to install Laravel using the command line with this concise guide. Quick, straightforward setup for developers.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/laravel\/how-to-install-laravel\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/laravel\/how-to-install-laravel\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/laravel\/how-to-install-laravel\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/09\/install-laravel.png","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/09\/install-laravel.png","width":1050,"height":551},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/laravel\/how-to-install-laravel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to Install Laravel"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/0736f70b4077032374f89709cdc255b7","name":"Derrell","sameAs":["https:\/\/www.linkedin.com\/in\/derrell-willis"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/derrellw\/"}]}},"jetpack_featured_media_url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/09\/install-laravel.png","jetpack_sharing_enabled":true,"primary_category":{"id":4486,"name":"Laravel","slug":"laravel","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/laravel\/"},"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/106766","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/57032"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=106766"}],"version-history":[{"count":37,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/106766\/revisions"}],"predecessor-version":[{"id":108592,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/106766\/revisions\/108592"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media\/106927"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=106766"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=106766"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=106766"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}