CodeIgniter Forums
What have composer did? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: What have composer did? (/showthread.php?tid=75627)



What have composer did? - mjamilasfihani - 02-27-2020

Hi, I really still confuse with composer.
If about install via composer I still understood, but if update via composer I still not understand.

Which file its gone be updated? Example, I have installed CodeIgniter 4 with composer
then the docs need me to do update.

My question is, from CI 4 structure. Which file or directory will be affected?

Thanks

*NOTE : You can give another example Smile


RE: What have composer did? - Goddard - 02-27-2020

Your composer.json will indicate which version you have it set for. If it is just a * then it will just upgrade to whatever version.

composer update

is the command to update, but you should always read the release notes to make sure an update won't break something.