Welcome to Laravel

Matt Stypa
Laravel Made Simple
2 min readFeb 2, 2018

--

I don’t think Laravel needs any introduction at this point. Afterall, it is the most popular PHP framework.

This article assumes that you have already setup Homestead. If you have not, please read my previous article on the subject.

Notice

These instructions are specific to OS X. However, these concepts can be applied to other operating systems like Windows or Linux.

If you were to install Laravel from your local machine you might get an old version due to PHP being out of date. For latest and greatest version of Laravel and to make sure we don’t run into versioning issues we will work within Homestead.

Make sure that Homestead is up and running:

vagrant up

Connect to the box:

vagrant ssh

For some reason, Laravel installer is not installed by default. Let’s do that now.

composer global require “laravel/installer”

We also have to make sure that it’s accessible.

mkdir ~/bin
ln -s ~/.composer/vendor/bin/* ~/bin/

Now, we can simply install Laravel.

cd ~; laravel new — force code

Since the code directory already exists we need to--force the installation

You should now be able to visit http://homestead.test and see the Welcome page.

Build something amazing..

--

--

Matt Stypa
Laravel Made Simple

Calm work culture advocate. Open source contributor. Lead software engineer @ http://neighborhoods.com