Laravel Lessons: Getting Started
Published April 20, 2020 • 2 mins read
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 goodnews is that all these configurations has been taken care of.
If your 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 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 setup anything on your local machine, PHPSandbox is an option for you. Its a play ground 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.
Basic OOP Concept In PHP
An understanding of Object Oriented Programming in PHP is a big plus for this Laravel series. Forget about the jargon you will see on on google about OOP. Just know you will be dealing with classes instead of the tranditional functions you are already used to.
Here are the things we are going to be covering in this series:
- Layouts & Views
- Controllers (Requests & Validations)
- Prepping The Database (Migrations And Eloquent)
Thats all for now. Get yourself ready, I promise you, this series is going to be actionable and definitely a REVELATION!
Subscribe here to receive email updates of this series directly to your inbox.
Litehost is my side project which is a shared hosting platform with PHP & Laravel developers in mind. It has Composer, Git & PHP CLI pre-installed on its servers. SSH access is also granted on request. Litehost is pretty affordable. Try it today.