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 trial

PHP PHP User Authentication Building the Library Building the Book List

Jason Connor
Jason Connor
6,379 Points

Using Symfony On My Computer

I like to work alongside these video courses on my own computer, as opposed to Workspaces. I've never used Symfony before, and I would like to understand how I can begin using it in my projects. Any help is greatly appreciated.

2 Answers

Tim Knight
Tim Knight
28,888 Points

Hi Jason,

You'd want to have some kind of server setup on your computer. So for many people that means using something like MAMP or MAMP Pro (Windows and Mac) or WAMP Server (for Windows only) which would setup the web server, PHP, and the database.

Then you can follow the instructions for getting Symfony installed by using their directions. https://symfony.com/doc/current/setup.html

Jason Connor although most people do as Tim Knight mentioned (installing WAMP or XAMP) I like to have PHP installed globally on my PC and that is also a simple solution to load the server just by calling the "php -S localhost:8000" command but the point here is that Symphony is a full stack framework (in high demand btw) and that might it not covered during this course but in my case where PHP is globally installed you will just need to run "composer update" (after adding the lines that call Symfony libraries in the code) and that will take care of downloading the symfony components you need to get this run smoothly locally without a third party tool like XAMP or WAMP.

I'll be happy to help if you hit a wall on this, I am currently taking this course and I'm loving it!