Below are the steps to do so:
- "composer update" on the local development.
- check for any breaking changes.
- commit the "composer.lock" file and push to git/production.
- run "composer install" from the production server.
By ensuring that everything is running fine in the local development, it will now be safe to run the command in the production environment.
Leave a reply