Support the ongoing development of Laravel.io →
Packages Architecture
Last updated 1 year ago.
0

Usually you update with Composer locally and on the server.

But with FTP you just transfer the "app"-folder.

If you don't have SSH access to your server then you must upload all the files :-(

Last updated 1 year ago.
0

What if I ave multiple servers... Do I need to update composer first on each servers and then upload files online...

Does not look like laravel is made for big projects having high traffic.

Last updated 1 year ago.
0

Just don't use FTP, but use Git instead. On you local development server, run composer update if you need to. Commit the composer.lock file and on your development server, pull the changes in via Git and then run composer install so you're up-to-date with the lock file.

If you need fast/simultaneous deploys you could look into symlinking, like Rocketeer does (https://github.com/Anahkiasen/rocketeer) That first clones the repo in a new release dir, run composer install and when successful, replace the symlink from the old to new dir. So you can switch directly back if you need to.

FTP is very outdated/slow and you shouldn't use that.

Last updated 1 year ago.
0

Thanks.. I will check rocketeer.. will check how can i deploy new changes on multiple servers..

Last updated 1 year ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

mahenn mahenn Joined 5 Aug 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.