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

Joshua Hawthorne
Joshua Hawthorne
18,523 Points

Best practices for becoming more familiar with Slim, Twig, and Composer?

Hey Guys,

I completed the PHP track, and I feel like I've learned quite a bit, but I do feel a bit bewildered by the section on Twig, Slim, and Composer. Clearly, the intent was to get a web app running ASAP, but I still do not feel confident in being able to build out my own simple web apps.

The documentation for these frameworks are obviously written for people who are already intimately familiar with PHP, and to be honest I find it pretty confusing. Are there any other resources out there that could help me to "bridge the gap" so I can become more familiar and comfortable with these frameworks, better understand what is being said in the documentation, and make my own cool projects? What are some other things I could do to get better at using these frameworks? Are there other courses on treehouse you would recommend? Thanks so much,

Josh

2 Answers

Kevin Korte
Kevin Korte
28,149 Points

Follow along and code side by side with this playlist. I really like the way he structures and explains things. I hadn't done a single thing with Slim or Twig and this has helped a lot. I'm currently on video 13/30. He uses Slim, Twig, and Composer and explains why, it's really well done.

I like Hampton, don't get me wrong, but I think this guy Alex is a great PHP teacher as well.

I would follow along with the laravel courses, which use Blade. Blade is a very similar tempating engine to twig. The course also uses composer and Laravel is an MVC framework just like twig.