Now that we have Composer setup, we can pull in the Laravel installer and make it accessible globally on our machine. This allows you to run a single command to build a fresh Laravel installation: laravel new app
.
app/Models
directory. This means an App\Post
namespace should now be App\Models\Post
.