Join Bernard Pineda for an in-depth discussion in this video Set up your local environment (Windows), part of Laravel 5 Essential Training: 1 The Basics.
- [Instructor] Let's take a look at the software requirements for this course if you're going to be following along on a Windows box. You'll need Cygwin shell installed so the commands that we use throughout the course are the same in Windows and in Mac or Linux. We'll need Git installed since we'll be using it indirectly with Composer and if you follow along till part two of this course, we'll be using it directly. Be sure to have a Github account if you don't have one already. For our code, you'll need Visual Studio Code installed.
For ease of use we'll install XAMPP but only to have MySQL installed, we won't be using either Apache or Engine X so it will be using PHP's internal server. For dependency installation we'll use Composer. There is an installer for Windows. For the second part of this course, we'll be using Virtual Box, Vagrant, and WinSCP that also install PuTTYgen that we'll use to generate our private public key pairs.
Be sure to have all the executable files, MySQL, PHP and Composer inside the path so you may execute them from anywhere. If you don't have them on your path, we can add them easily. Let's open first our control panel. So let's type Windows R and type control to open the control panel. Then on the search control panel, we'll type environment and we'll find the edit system environment variables link.
And now let's click on environment variables and let's click on path and edit. And we can add our environment variables here. As you can see I've already added the XMPHP and the MySQL executable folder. Make sure that the MySQL server is running. And lastly, Cygwin has a bug, so we will not start it directly from the desktop shortcut. Let's open a command line prompt, change to Cygwin 64.
And execute the bat file Cygwin.bat. And now we may connect to our MySQL server with MySQL-user root. Let's also make sure that the executables are available with PHP minus minus version. Git, minus minus version. Let's clear. And Composer minus minus version.
We'll be using Cygwin shell for our command line.
- Laravel file and folder structure
- Dependency injection
- Routing requests to controllers
- Loading a view
- Creating a basic Blade template
- Sending data to a view
- Creating and validating forms
- Integrating a database
- Modifying data with Eloquent
- Returning data to a Laravel view
- Adding relational data and concurrent connections