Laravel is a php based framework. Laravel has many libraries, helpers, and other dependency strategies. These provide us with many ready functionalities we can reuse in our website and web application development by reusing the code to call the functions of the classes and helpers of this library. : Can be used. Huh. We do not have a website to write much code; our time is saved, and it takes little time to develop a website and web application. This spoils the speed of our web development.
When and who created Laravel?
It was first created by Taylor Otwell on June 9, 2011, and released its beta, after which its 5.8 version has been launched till now.
Benefits of using Laravel
- It is very easy to use it.
- Laravel Framework is easy to learn.
- You can make any simple project through it in a short time.
- Using this, you can design a secure application.
- Apart from this, you can also use a separate package using Composer in it.
What are framework and MVC?
Laravel is an MVC pattern-based framework, so we have to ask what this framework is. The framework is a collection of libraries, helpers and config files, dependencies so that we can definitely work sensibly by calling libraries and helpers based on our requirements. If there is a framework, then it is an architectural design pattern. If it is not an architectural design pattern, it cannot be a framework. And laravel follows the MVC pattern.
What is MVC?
The full form of MVC is Model-View-Controller, in this our coding part is divided into 3 parts (Model, View, and Controller). We can see the layout of the HTML that the user will see. We can call View the presentation layer.
The model can manage the database data directly. We write the management of the database, the logic, and the rules related to the database in the model.
The controller interacts with the model and the view. It means we write business logic in the controller.