Learning Laravel

In this tutorial series, we'll build a forum powered by Laravel that uses React for the main features of the website.

Installation and Configuration

Laravel is the "PHP Framework For Web Artisans" and it's become a hot topic in PHP back-end development over the past few years. Before you can start learning it though, you need to learn how to set up a new project using it. Note: this article will assume you already have PHP 7, Composer, NPM, and MySQL installed on your development computer. While this is a beginner lesson for Laravel, it isn't a lesson for these other foundational systems. PHP is notoriously difficult to set up on Windows, so…

Really Radical Routing

Since a route is the first thing every user is going to interact with when visiting your site, it's where we're going to start our Laravel journey. In most projects, your routes will be contained within the routes\web.php file . When you open it up after creating a brand new project (read the first lesson in this series if you need help setting up a Laravel project ) you will see the generic starting route: Let's break this down to figure out what's going on. First we call the get function on…

Eyeing Up Views

Now that we've started learned how to set up some basic routes (go check out Really Radical Routing if you haven't created any routes yet), lets give our site visitors something to look at that's a bit nicer than some plain text Views will allow you to use a templating engine called Blade to create HTML pages with ease. You can check out the default page that gets created when you first make a Laravel project inside resources/views/welcome.blade.php . Within that file, you'll see a basic HTML…