How to Install Laravel with Softaculous

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 version 8.1.

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 installation here because it is straightforward to accomplish, only requires a few clicks, and is available to hosting packages at all levels.

  1. Log into cPanel
  2. Softaculous Apps Installer Icon

    Under Software choose Softaculous Apps Installer

  3. Choose Laravael under Frameworks

    Under Frameworks select Laravel

  4. Click Install Now Button

    Click Install Now

  5. Erase default directory selection

    Make sure to deselect the default directory selection “laravel” by erasing it if you want to install Laravel on your primary domain

  6. Click Install Button

    Click Install

Now, visiting your primary domain, you will see a message indicating that Laravel has been installed, and you will be redirected to the /public subdirectory. All of the live content will be placed in this directory. For security reasons, you will want to redirect to this “public” directory as the document root of your site.

Christopher Maiorana Content Writer II

Christopher Maiorana joined the InMotion community team in 2015 and regularly dispenses tips and tricks in the Support Center, Community Q&A, and the InMotion Hosting Blog.

More Articles by Christopher

Was this article helpful? Let us know!