Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialOrlando Murdock
2,180 Pointshow do i install composer locally on my pc?
He shows u how to do this in work space but who said i want to do in work space? i need to know how to do this locally for future projects. I have a design i want to practice with and i dont even know how to start.
5 Answers
Mark Ihrig
19,966 PointsYou are welcome! If you are on PC, have you tried installing Wamp Server? From what I have read, is that the following might help.
Download and install Wamp http://www.wampserver.com/en/ For example the Wamp path (once installed) to php.exe would look like this C:\wamp\bin\php\php5.5.x\php.exe
At the php.5.5.x part of the path, you would put in the latest version of php installed. I believe the latest version included in Wampserver would be php.5.5.12
Jason Ziegler
Full Stack JavaScript Techdegree Graduate 39,583 PointsI already had XAMPP installed and this helped: http://www.codecheese.com/2015/02/installing-composer-xampp-windows/
I don't know if this works the same for MAMP, but I would think it would. If you don't have XAMPP installed you could try it with MAMP: https://teamtreehouse.com/library/setup-your-local-development-environment
Mark Ihrig
19,966 PointsYou might want to try this link and scroll down to your operating system that you are installing it on https://getcomposer.org/doc/00-intro.md If you are on a PC, you can find a link to an EXE install file, or they give you instructions on setting it up manually. It mentions this about installing Composer with the EXE file : "This is the easiest way to get Composer set up on your machine. Download and run Composer-Setup.exe. It will install the latest Composer version and set up your PATH so that you can just call composer from any directory in your command line." There are separate instructions for Linux/Unix/OSX
Orlando Murdock
2,180 Pointsthanks for the quick feedback, but yeah i saw that however when i run the install its asking to browse to php.exe file in which is not available on my pc so i am kinda stuck at the moment researching on how to get php installed etc. thanks :D appreciate the help.
Orlando Murdock
2,180 Pointsyeah I found a similar program called xampp and figured how to install composer in it, I am currently working on the design I have and applying my new learned php knowledge :D thanks a bunch!
Ali Rizwan
Courses Plus Student 21,460 PointsHey! would you like to share us your discovery to install a composer with xampp? May be some people like me still want to know that. thank you!
Mark Ihrig
19,966 PointsThat is awesome! Good luck on your project design!