How to upgrade Laravel to latest minor version?

If you want to upgrade Laravel to latest minor, for example, from 9.5 to 9.6, changing the version of composer.json file won’t help (assuming you run composer install afterwards). You should run composer update instead. Let’s see the current version before the update: Now let’s update the framework: