Pulling laravel project to my computer with no local php and composer installed

I’m using docker for my local development on window 10. I’ve a folder on my local computer to manage and store codebase and other configuration files which in turn need to be mapped onto web root of the server running inside the docker. but the problem is that when i try to pull my laravel project using composer on my local machine, it gives error (composer not found) because there is no php and composer installed on my local machine. so, my question is:

  1. should i need to install php and composer on my local machine? it is
    a kind of running / managing php on local machine as well, I want to
    run my all-development stacks as the docker image only.
  2. or is there any way to use or refer the same php/composer which is running
    inside the docker to pull the codebase on my local computer?
  3. or are there other solutions around? please suggest, thanking you all!!