Composer auto self-update

Composer doesn’t have a feature to automatically run self-update to my knowledge. Also, running self-update by itself doesn’t seem like the right way. Maybe you don’t have permission? Then try using sudo, like: sudo composer self-update.

It is just a simple command, and you should only need to do it once about every 30 days. And keep Composer installed globally so you don’t need to run it for each project.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)