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

Swaz's avatar
Level 20

What commands are you guys running when you deploy?

I was just curious what some of your deployment setups look like. I know the forge defaults are:

composer install

php artisan migrate --force

Are there any others you guys run on every deploy?

optimize?

config:cache?

Do you install node.js and run gulp --production?

0 likes
1 reply
michaeldyrynda's avatar

Blowing my own horn a little bit, I wrote about this earlier this week.

I don't specifically run config:cache, just clear-compiled and optimize.

I'm on the fence about gulp - whether or not to run it locally or have npm and gulp installed remotely.

1 like

Please or to participate in this conversation.