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 Laravel 4 Basics Getting Started with Laravel Installing Laravel

Is there a Laravel course for Windows users ? I am not a MAC user and I do not intend to be one ....

The course exhibits OSX environment but I am not familiar with it... also what if I do not want to use a composer ? It does not cover that as well .So basically I will need a Mac computer and must use a composer if want to learn Laravel here ?

Adam Young
Adam Young
15,791 Points

Posted my answer as a comment. Hope my answer helps, Yael!

Thank you Adam!

I actually just went ahead and extracted the laravel zip into a project. It works just fine and so far so good. Why do I need to use Powershell ? Is there an added value for using a virtual host ?

2 Answers

Adam Young
Adam Young
15,791 Points

I just completed the Laravel course on a Windows machine, there are some slight differences but it's manageable. The big difference is going to be that you'll use Powershell (or any Windows command line interface) instead of Terminal.

Also you have to work around etc/hosts not being writable. When you're setting hosts just copy the text from hosts into a second hosts file on the desktop, add the new hosts entry and copy/paste the new hosts file into /etc/.

Hampton was also nice enough to make a video about it at https://www.youtube.com/watch?v=p0veZd9mtGc#t=576.

And since you're working through a VM, after installation everything else is exactly the same!

I started following this tutorial yesterday around 5 oclock in the afternoon. I finally got Laravel to work on my machine by around 2am. Every step of the process I hit some kind of stupid snag that isn't covered at all in any of the documentation. I had this exact same problem when I first tried to get Ruby on Rails and Django up and running. Nothing is ever very clear. Nobody ever tells you you need to install git, git bash, etc. The directories get confusing. Homestead is where all my pain seems to lie. Then I watched a tutorial late last night and got Laravel to work on Xampp in about ten minutes. Wonderful.