To initialize an existing project that uses composer you need to navigate to the root folder of that project an simply execute

$ composer install

This command will read the dependencies from the composer.json descriptor file and downloads them ready for you to use in your project.