PHP Laravel Admin Panel

Deploy Laravel Application on Shared Hosting (Godaddy)

Laravel is a web application framework with expressive, elegant syntax. We’ve already laid the foundation freeing you to create without sweating the small things.

The Laravel framework has a few system requirements. Of course, all of these requirements are satisfied by the Laravel Homestead virtual machine, so it's highly recommended that you use Homestead as your local Laravel development environment.

However, if you are not using Homestead, you will need to make sure your server meets the following requirements:

PHP >= 7.2.0
BCMath PHP Extension
Ctype PHP Extension
JSON PHP Extension
Mbstring PHP Extension
OpenSSL PHP Extension
PDO PHP Extension
Tokenizer PHP Extension
XML PHP Extension

Good News: Most of the PHP hosting services comes pre-installed with theses extensions, so no need to worry about that. 🙌

  1. Open file .env ( Make sure your computer show hidden files )

Now let's change database configuration in .env file

DB_DATABASE=your-database-name
DB_USERNAME=your-username
DB_PASSWORD=your-password

Now let's change our admin panel config url open file in path

samneang-api/resources/js/api/config.js

Replace as your url: export const API_URL = "htpp://www.your-domain.com/api/v1";

lets make a quick list of things we need to do to configure our app to work properly:

  1. cd /samneang-api

  2. npm run watch

  3. You will see alert message: build success

  4. Admin login: lyheang.ibell@gmail.com Pass: 12345678

1. Upload project laravel into Godaddy

Upload Laravel project folder into Godaddy's public_html folder

Still not lucky? Email: lyheang.ibell@gmail.com
Noted: I will try to reply your email as soon as possible only 
please understand that I am human?

Last updated