As with all the other posts on this blog the objective here will be to get up and running quickly with the expectation that an understanding of the approach will develop as the tool is used. Kinasthetic learning. If you have the PHP path included in your path environment variable you won't need the next bit but as I often work with machines where I don't have admin access I use this workaround. Save the following code into a file called php.bat in your phalcon project folder(in my case this is xampp\htdocs\tennisClub).
set PHPCMD=c:\xampp\php\php %PHPCMD% %*
Next go to https://getcomposer.org/download/ - copy each of the lines from the command line installation steps into the CLI in your project folder as follows:
Composer is now installed and ready to use. In the next post I'll show you how to use it to install packages.