This article was initially sent as a mail. I had to publish it so that others who didn’t subscribe to the blog series mailing list can follow along.
First, my name is Stephen Jude and I have been a PHP/Laravel developer for three(3) years now.
The first thing you have to know is that Laravel is a PHP framework. So everything we are going to be talking about is going to be revolving around PHP(don’t worry, you will be fine).
Now let me walk you through what you are going to need for this series.
If you have been a PHP developer, you already know about XAMPP, WAMP, LAMP and MAMP. But there is more to setting up a Laravel development environment. Laravel is made up of PHP packages(lots of them) which requires a lot of PHP extensions that also requires lots of configurations. The good news is that all these configurations have been taken care of.
If you are using Windows like me, just install Laragon. Laragon is a fast and easy way to create an isolated dev environment on Windows. Includes Mysql, PHP Memcached, Redis, Apache and Nginx.
For Linux or Mac, I recommend Laravel Homestead, an official pre-packaged Vagrant box that provides you with a wonderful development environment without requiring you to install PHP, a web server, and any other server software on your local machine.
After trying Laravel Valet on my new Mac Book, I will like to recommend it. It’s quite cool.
If you are not ready to set up anything on your local machine, PHPSandboxis an option for you. Its a playground for PHP and Laravel developer. Just login with your GitHub account and you are good to go. I will be sharing some of my code from there. Thanks to @Bosunki and his team for this awesome project.
An understanding of Object-Oriented Programming in PHP is a big plus for this Laravel series. Forget about the jargon you will see on google about OOP. Just know you will be dealing with classes instead of the traditional functions you are already used to.
Here are the things we are going to be covering in this series:
- Installation & set up
- Layouts & Views
- Controllers, Requests & Validations
- Database (Migrations And Eloquent Models)
- Hosting, Deployments & Error Tracking