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

If you need Slim-skeleton ver 3.*, use this command

Hey treehouse coders,

Since Slim updated to 4.4 in January 2020, the structure is drastically different to the one on tutorial. If you're like me, who'd prefer to follow the video closely and use Slim 3 type in the below command:

composer create-project slim/slim-skeleton:3.* [file_name]

~or~

composer create-project slim/slim-skeleton:3.1.6 [file_name] 

(v3.1.6 is more in tune with what is shown on video)

where [file_name] is your folder's name, or you can simply use "." to install in the folder you're in directly you'll get Slim 3.1 as well as other dependencies

1 Answer

Sasha Garcia
Sasha Garcia
7,100 Points

Thank you Chapman Cheng for the tip, got me unblocked today!