What is Laravel
Laravel is a very popular PHP framework and probably the best framework for PHP out there. If you are unfamiliar with Laravel framework, please refer to this article Introduction to Laravel Framework: What is Laravel & why you should use it.
Which Laravel version to use
There are many versions available for Laravel. The latest stable version of Laravel is 5.4 which was released on January 24, 2017. This release has many new features, like Laravel Dusk, Laravel Mix, Blade Components and Slots, Markdown Emails, Automatic Facades, Route Improvements, Higher Order Messaging for Collections, and many others. But which version to use, is quite an opinion based question. I will suggest here two versions: Laravel 5.2 and 5.4.
Laravel version 5.2
If you are a beginner and already in the web developing industry (assuming you have experience in web developing, using raw PHP and mySQL database), I would recommend to start with Laravel 5.2.
- Laravel 5.2 was released on December 21, 2015 and it has the biggest support.
- Many problems that you will face, when you search about it on Google, you will see most relevant answers are for Laravel 5.2.
- And the most important reason why I am suggesting this version is, many web developing companies and also clients who hires freelancers, they use Laravel 5.2. Since the latest Laravel version 5.4 is pretty new, they don’t want to take risk in adopting it.
- Also Laravel 5.2 requires PHP >= 5.5.9 whereas Laravel 5.4 requires PHP >= 5.6.4.
Personally speaking, I myself is a freelance web developer. All the projects that I’ve got from my clients worldwide was so far on Laravel version 5.2.
Laravel version 5.4
If you are a student (assuming you will join the web developing industry in next 2/3 years or more), I would recommend to start with Laravel 5.4. This version has many new features which I mentioned above. Since it is currently the latest version, by the time you complete your graduation and join the web developing industry, this Laravel version will grow and will have a huge support.
I hope now it’s quite clear to you which Laravel version you should use. But of course, the choice is yours. You are free to use any version that you prefer. There are not that much differences between these versions.
The tutorials on this website will be focused on mostly Laravel 5.2.