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

Okafor Matthew
PLUS
Okafor Matthew
Courses Plus Student 2,633 Points

monolog version

Please am just curios about something, the teacher is using monolog version ~1.13 while installing composer but when i try to install it on the workspace, it install version ~1.22. hope this will not trigger any error in the course of previewing the code on the browser?

1 Answer

Algirdas Lalys
Algirdas Lalys
9,389 Points

Hi Okafor Matthew,

Well you can easily update/downgrade package versions with composer. Open up console and write.

1) composer require (hit enter)

2) then it asks search for package, then write "monolog" (hit enter)

3) then it asks for what version, write "1.13" (hit enter and enter again)

Then composer will update install your package. I hope it helps:)