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!

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 Introducing MVC Frameworks in PHP Building an MVC Project Routes

Laurie Addoms
Laurie Addoms
14,568 Points

Cant complete this course

I cant complete the php MVC course because the download files are so different than the video that its just confusing me and I am learning nothing.

1 Answer

Jon McCallum
Jon McCallum
10,506 Points

It is possible that if you followed the instructions to install:

composer create-project slim/slim-skeleton mvc-framework

Then you'll have installed the latest version of Slim, Slim 4, which is different to the Slim 3 used in the videos. I did that first too. Instead, if you use:

composer create-project slim/slim-skeleton mvc-framework 3

Which installs version 3 of Slim, your files should more closely resemble it.