@developer654079525 You should regularly keep software up to date, yes. But you should also read release notes of packages before updating, just in case there’s something that may have changed that may be incompatible with your application or other installed packages.
Nov 29, 2025
6
Level 2
Updating strategies
Should I regularly update the framework using composer update? I also have composer on the hosting account.
Level 50
composer audit is a useful tool. It shows known vulnerabilities in the installed package versions. You should update all packages from time to time, but fixing vulnerabilities is the first priority.
Just to be clear: you shouldn't run composer update in production. You should run it in the development environment and test that everything works. That generates a composer.lock file in the project root, which tells Composer the exact package versions to install. You deploy that file along with everything else and then run composer install to install the packages.
1 like
Please or to participate in this conversation.