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

Boon Kiat Seah
Boon Kiat Seah
66,664 Points

Does laravel work with MAMP ?

Hi, will like to learn and understand if laravel can work in MAMP server environment ? Past php teachers and wordpress teachers always work with MAMP. Will greatly appreciate that Hampton or anybody can tell us what is the reason and should the vagrant and virtual box is the better choice, will perform the install on my computer.

thanks

5 Answers

Yes, Laravel will work on MAMP. The reason many people are switching to Vagrant is that it provides a more portable and easy to use development environment that is pre-configured and ready to deploy.

Boon Kiat Seah
Boon Kiat Seah
66,664 Points

Thanks Miguel Castro. It is really nice for you to help out. At least now I know there are some advantages, will start to install it on my mac.

Thanks so much

Web development often requires working with multiple dependencies, and installing of this on your machine can eventually lead to problems / conflicts.

Putting all of this stuff into a box means you can not only house those dependencies, but also easily match your live server configuration. This is pretty good thing to have! If you have multiple live projects on different hosting providers, you're going to want something flexible for local development.

MAMP will get you started but opting for vagrant straight away might just save you a lot of headaches (and you'll learn some really good stuff too!)

jason chan
jason chan
31,009 Points

https://gist.github.com/kkirsche/5710272

localhost/public you have to locate the public folder. thats the main website for laravel. index.php is located there. You should always refer to that is main page.

The latest version of macOS you can not to install virtual box?