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

Cell1179's avatar

Forge and Laravel

I got forge because I couldn't figure out how to deploy Laravel with composer. I don't want to learn all that garbage. I thought Forge would have an easy way of starting a laravel project.

I guess I was wrong...

How can I deploy Laravel on my Forge server?

0 likes
3 replies
kreitje's avatar

Either put it in a git repository and pull from your forge box or use SFTP and upload the files with your FTP client.

Forge is there to help with some of the server administration stuff. Laravel isn't even required when using Forge. You also don't deploy Laravel with composer. Composer manages PHP packages that your website utilizes.

Cell1179's avatar

Kreitje, how then will it manage these PHP packages if I do as you suggest and grab Laravel from github ( https://github.com/laravel/laravel ). How will I know my stack of dependencies are up to date? How will I update the stack later on? If I pull from this repository (I am new to git, github, laravel, composer...) how will I update the stack without overwriting my files?

If someone can do Phone support I would pay. I want very badly to be a part of the Laravel community but I have all but given up on it. I canceled my Laracast, Lara Forge etc... because I have exhausted myself trying to instal laravel.

kreitje's avatar

To install laravel you have a few options.

  1. composer create-project laravel/laravel my-super-awesome-project
  2. Download the latest release https://github.com/laravel/laravel/releases

To update your dependencies you would do composer update. It will pull down the changes and update the files in your vendor directory.

Definitely look into composer and how it works as a system not necessarily the code. Even if you don't use Laravel it is very handy.

Forge is for deploying. Being new to git, github and composer it makes sense that you would be overwhelmed. There is a lot to learn there. Forget about forge at the moment and work on learning the rest.

Checkout some of the free videos Laracasts has:

Laravel from Scratch https://laracasts.com/series/laravel-from-scratch

Laravel installation for newbs https://laracasts.com/lessons/laravel-installation-for-newbs

Please or to participate in this conversation.