Getting started with Laravel | Laravel Part - I
WHAT IS LARAVEL ? Laravel is a PHP framework. It is an MVC framework that is designed to ease your backend efforts and to minimize the keystrokes and maximize the output. With Laravel, you don't have to write several lines of codes just to achieve a simple task as you do in Vanilla PHP. For example, in PHP if one wants to fetch all the results from the database, they have to write code similar to one below notice the number of keystrokes and a mess it would be to query multiple databases in multiple lines. Thankfully, Laravel got us covered. In Laravel the same thing can be done in a much simpler way as below With just that, we fetch all the content of our "Table". The table keywork in the above snippet is the Model reference. You can read more about Models here GETTING STARTED WITH LARAVEL Setting up Laravel is pretty simple, but for that, you need to have Composer installed on your computer. After installing composer, you need to make sure that you have a loca...