How to Install Laravel Web Application on Paas.id

How to Install Laravel Web Application on Paas.id

Introduction

Laravel is a free and open-source web application framework written in PHP. In Paas.id, Laravel are paired with a MySQL database.

In this guide, we will learn about installing a Laravel web application on Paas.id.

Prerequisites

  1. Have installed a web server on Paas.id

Step 1 - Login to your Paas.id Account

Login to your Paas.id account via https://dash.paas.id/auth/login.

Paas.id login page

Step 2 - Navigate to Web Applications Page

Paas.id servers page

From the servers page, you need to open the server details page by clicking on the server where your application is located.

Paas.id server detail page

On the server detail page, you need to open the web applications page by clicking "Web Applications" menu on the left sidebar.

Paas.id web applications page

Step 3 - Navigate to Deploy New Web App Page

On the web applications page, you need to open the deploy web app page by clicking "Deploy new web app" button on the right side.

Paas.id deploy web app page - choose platform section

Step 4 - Configure New Laravel Web Application

On the Choose Platform section, choose Laravel and click the continue button.

Paas.id deploy web app page - choose platform section
Paas.id deploy web app page - general configuration section

On the General Configuration section, fill the application name and database name field. Application name must contain at least one alphanumeric character and can only contain underscores, periods, spaces, or dashes. For database name, it suggested to follow the naming convention described in this page Naming Conventions for MySQL. After that, click the continue button.

Paas.id deploy web app page - summary section 1
Paas.id deploy web app page - summary section 2
Paas.id deploy web app page - summary section 3

In this Summary section, you are provided with information about the platform, general configuration, and basic settings & stack of the application.

Step 4 - Deploy the New Laravel Web Application

On the deploy web app page, click the "Deploy" button on the right side.

Paas.id deploy web app confirmation message

A confirmation message will appear, click the "Deploy" button again and the deployment will start. If there is no error, you will be directed to web applications page.

Paas.id web applications page after deployment of new web app started

You will see that your new application is listed with the status "Installing". Please wait until the status changes to "Installed" or "Failed" if an error occurs during deployment.

Paas.id web applications page after deployment of new web app success

Step 4 - Check the New Laravel Application

On the web applications page, you need to open the web application detail page by clicking the three dots action on the new Laravel application and choose "View" menu.

Paas.id web applications action menu
Paas.id web application detail page

Open the application URL from the domain field.

Voila, the Laravel is installed and it's works!

Moreover, you can also edit the web application files by directly modifying the files from your server. The application directory is written in the public path field of the web application details page.

Also you can edit the web application files using the file manager that we provided. You can read more about it on the link below.

How to Manage Files using File Manager on Paas.id
Introduction Your web application consists of files that need to be managed from time to time, either its for bug fixes, improvements or upgrades. Therefore, Paas.id provide a built-in web based file manager. The file manager is installed upon connecting your server to Paas.id. In this guide, we