---
title: "How to Install Laravel with Softaculous"
description: "In this article, we will learn how to install Laravel, the popular PHP framework. In order for Laravel to work correctly, you must make sure your server or cPanel account is configured for PHP..."
url: https://www.inmotionhosting.com/support/edu/laravel/install-laravel-softaculous/
date: 2018-01-18
modified: 2024-05-10
author: "Derrell"
image: https://www.inmotionhosting.com/support/wp-content/uploads/2023/10/How-to-Install-Laravel-with-Softaculous0A.png
categories: ["Laravel"]
type: post
lang: en
---

# How to Install Laravel with Softaculous

![](https://www.inmotionhosting.com/support/wp-content/uploads/2023/10/How-to-Install-Laravel-with-Softaculous0A-1024x538.png)

In this article, we will learn **how to install Laravel**, the popular PHP framework. In order for [Laravel](https://laravel.com) to work correctly, you must make sure your server or cPanel account is [configured for PHP version 8.1](/support/website/how-to-upgrade-php-version/) or above.

## How to Install Laravel with Softaculous

There are many different ways to install Laravel. Installation methods will vary based on your needs and experience level. We’ve chosen to represent the [Softaculous](https://softaculous.com) installation here because it is straightforward to accomplish, only requires a few clicks, and is available on our [Laravel Hosting](https://www.inmotionhosting.com/laravel-hosting), [VPS Hosting](https://www.inmotionhosting.com/vps-hosting), and [Dedicated Servers](https://www.inmotionhosting.com/dedicated-servers).

### 1. Log Into Your Control Panel

First, you will want to [log into cPanel](/support/edu/cpanel/how-to-log-into-cpanel/) or [Control Web Panel (CWP)](https://www.inmotionhosting.com/support/edu/control-web-panel/install-control-web-panel-cwp/#login) to access **Softaculous**.

### 2. Locate Softaculous within your Control Panel

Now that you are logged into your control panel, click the **Softaculous** button.

- In cPanel, Softaculous is located under the *Software *section labeled **Softaculous Apps Installer**.![Softaculous cPanel Button](https://www.inmotionhosting.com/support/wp-content/uploads/2018/01/softaculous-button.png)
- In CWP, Softaculous is located under *Script Installers* labeled **Softaculous**.![Softaculous CWP button](https://www.inmotionhosting.com/support/wp-content/uploads/2018/01/cwp-scriptInstallers.png)

### 3. Select Laravel to Install

Within Softaculous, click *Frameworks *on the left menu and select **Laravel**.

![](https://www.inmotionhosting.com/support/wp-content/uploads/2023/10/laravel-frameworks.png)

### 4. Installation Page

On the Laravel main page, click on the *Install *tab at the top to get to the installation page.

![](https://www.inmotionhosting.com/support/wp-content/uploads/2023/10/laravel-install-1024x275.png)

### 5. Install Laravel

This will direct you to the Software Setup page of Softaculous which allows you to configure your installation. Choose the domain that you want Laravel installed.

If you want the installation to be on the selected domain itself, you will want to leave the *In Directory *section blank (Softaculous within CWP will have `laravel` in this section by default which you can remove). Otherwise, if you want this installation to be in a subdirectory of the selected domain, you will type in the desired directory.
![Laravel Software Setup in Softaculous](https://www.inmotionhosting.com/support/wp-content/uploads/2018/01/laravel-quickInstall.png)
Once you have selected your installation URL and directory, click **Install** located at the bottom of the section.

### 6. Installation Complete

Once the installation has been completed, you will be shown a confirmation of successful installation.
![Laravel Successfully Installed](https://www.inmotionhosting.com/support/wp-content/uploads/2018/01/laravel-installed.png)

When you visit your selected domain, you will see a message indicating that Laravel has been installed, and you will be redirected to the */public* subdirectory. For security reasons, you should [redirect to this “public” directory as the document root of your site.](/support/domain-names/how-to-redirect-your-primary-domain-to-a-subdirectory/)

Choose from our [Laravel Hosting](https://www.inmotionhosting.com/laravel-hosting), [VPS Hosting](https://www.inmotionhosting.com/vps-hosting), or [Dedicated Servers](https://www.inmotionhosting.com/dedicated-servers) to host your Laravel applications and websites today!
