Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

HUNHammer98's avatar

installing laravel application on live server

Hello all,

I would like to install my first ever laravel application on our live server which is on a private network ( means I wont be able to run composer install). I collected the steps which I should follow regardind the installation. If I should do another steps please share it with me.

  1. making tar/zip
  2. Moving the files with a thumbdrive to the server
  3. Extract the files inside the webserver folder
  4. edit .env file (database credentials etc..)
  5. New database in phpmyadmin
  6. composer dump
  7. php artisan migrate
  8. done?

As far as I know I wont have to generate a new key.

Thanks,

0 likes
1 reply
jlrdw's avatar

And besides that just make sure you point to public as your document root for Security.

Also read the deployment chapter of the documentation for more tips and hints.

Please or to participate in this conversation.