In my composer.json I have
"require": {
. . .
"unisharp/laravel-filemanager": "~1.8"
}
Currently, the latest version is v1.8.2.2 and after running the composer update command I have it installed on my localhost project (everything is OK).
I have pushed (git push origin master) from localhost to the remote repo on Bitbucket, and via SSH I have connected to the web server and cloned (git clone ...) it from that remote repo.
Now, when I run composer update (on web server) - it installs v1.8.0 which has some bug. After that, when I try again to run composer update - I get:
Nothing to install or update
... but it's still v1.8.0 (not v1.8.2.2 like it is on localhost).
So, I have identical project with identical composer.json on my localhost and on live server but, for some reason, localhost has the latest version of the package and live version has the old version with bug and composer update doesn't update it.
Do you know why this is happening and how can I solve it?