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

SYMFONY HTTP_FOUNDATION - Quiz

Quiz Question:

Which command, and package name, is used to install the Symfony HTTP_Foundation package using composer?

composer ___________________ | __________________

The notes were as follows: you'll need to open up the console in your workspace.

Type composer install

Once our packages have installed, we can close the console.

Not sure what is expected my answer was as follows (but was incorrect): install symfony/http-foundation

Also tried: require symfony/symfony

3 Answers

composer require symfony/http-foundation

https://packagist.org/packages/symfony/http-foundation

ivana kantnerova
ivana kantnerova
15,932 Points

yes, thank you too, that it is..

Which command, and package name, is used to install the Symfony HTTP_Foundation package using composer?

composer require symfony/http-foundation

Did you find an answer to this? I also have the same problem.

EDIT: Never mind, I found it on the symfony website.