In studying how to use Composer, starting from Windows 10 with wamp-5.6.28-1, I downloaded package checkdomain/holiday and checked it out in the local server. Then I moved it to a website that I own. Everything working. So far, so good.
The actual files moved to the servers were an index.php to call up the downloaded workings of the package, and a copy of ..\wampstack\php\vendor.
However when I look at all the files I find that the .lock file has not been passed to the servers because it is not in the folder \vendor that Composer created during the download from Packagist. The .lock file is in ..\wampstack\php
Additionally, although the \vendor folder has the .json file there is another .json file in ..\wampstack\php.
I am a bit confused about this - surely the .lock file is a vital component that needs to be in the server ?