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

How do you install http symfony?

I'm trying to follow the course using my own text editor and database, but I'm having a lot of trouble understanding how to install the http symfony.

Is there a tutorial video someone could recommend? I tried going to the http symfony website, but there wasn't much there to help.

What is the benefit of using this package, anyway?

Thanks

1 Answer

Simon Coates
Simon Coates
28,694 Points

um, she kinda glossed over this a little, but you add the dependency to composer (it's already there under require). Run 'composer install' and then include the vendor/autoload.php file in the bootstrap.php file. One or two of the earlier PHP courses include explanation of composer.

One of the course authors listed some benefits of the package at https://teamtreehouse.com/community/the-httpfoundation-component .