What is the better way to deploy laravel application in live server?

Viewed 44

I am confused about the deployment of the laravel project in the live server.

I searched for this and found many solutions.

There are many processes to deploy laravel projects in a live server.

  • Someone suggesting to remove all files and folder from public folder
  • someone saying to change .htaccess etc.

What is the perfect way to deploy laravel projects in the live server?

If, I have to remove public folder then, why laravel included it?

If I have to copy .htaccess to root directory and need to change it.

Then why it is not used laravel as default. Would someone explain it to me, please?

0 Answers
Related